Have RELEASE be empty when CONFIGURATION != 'release'

This commit is contained in:
Ludovic Henry 2018-03-02 14:20:28 -05:00 коммит произвёл Marek Safar
Родитель 3648ace2b9
Коммит 685d39238a
3 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -4,7 +4,7 @@ include $(TOP)/sdks/paths.mk
CONFIGURATION?=release
RELEASE=$(if $(filter $(CONFIGURATION),release),true,false)
RELEASE=$(if $(filter $(CONFIGURATION),release),1)
#brew's libtool is not compatible with some of the deps needed (I.E. V8) so in those systems we need to explicit add to the path
#this is due mono not being compatible with xcode's libtool, which is what's on path by default

Просмотреть файл

@ -30,13 +30,13 @@ _android_$(1)_AC_VARS= \
ac_cv_func_sched_setaffinity=no
_android_$(1)_CFLAGS= \
$(if $(filter $(RELEASE),true),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
$(if $(RELEASE),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
-fstack-protector \
-DMONODROID=1 \
$$(android_$(1)_CFLAGS)
_android_$(1)_CXXFLAGS= \
$(if $(filter $(RELEASE),true),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
$(if $(RELEASE),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
-fstack-protector \
-DMONODROID=1 \
$$(android_$(1)_CXXFLAGS)
@ -169,11 +169,11 @@ _android_$(1)_RANLIB=ranlib
_android_$(1)_STRIP=strip
_android_$(1)_CFLAGS= \
$(if $(filter $(RELEASE),true),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
$(if $(RELEASE),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
$$(android_$(1)_CFLAGS)
_android_$(1)_CXXFLAGS= \
$(if $(filter $(RELEASE),true),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
$(if $(RELEASE),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
$$(android_$(1)_CXXFLAGS)
_android_$(1)_CONFIGURE_ENVIRONMENT= \
@ -269,11 +269,11 @@ _android_$(1)_AC_VARS= \
ac_cv_search_dlopen=no
_android_$(1)_CFLAGS= \
$(if $(filter $(RELEASE),true),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
$(if $(RELEASE),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
-DXAMARIN_PRODUCT_VERSION=0
_android_$(1)_CXXFLAGS= \
$(if $(filter $(RELEASE),true),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
$(if $(RELEASE),-O2 -g,-O0 -ggdb3 -fno-omit-frame-pointer) \
-DXAMARIN_PRODUCT_VERSION=0
_android_$(1)_CONFIGURE_ENVIRONMENT= \

Просмотреть файл

@ -12,15 +12,15 @@
PLATFORM_BIN=$(XCODE_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/bin
ios_CFLAGS= \
$(if $(filter $(RELEASE),true),-O2,-O0 -ggdb3 -gdwarf-2) \
$(if $(RELEASE),-O2,-O0 -ggdb3 -gdwarf-2) \
-DMONOTOUCH=1
ios_CPPFLAGS= \
$(if $(filter $(RELEASE),true),-O2,-O0 -ggdb3 -gdwarf-2) \
$(if $(RELEASE),-O2,-O0 -ggdb3 -gdwarf-2) \
-DMONOTOUCH=1
ios_CXXFLAGS= \
$(if $(filter $(RELEASE),true),-O2,-O0 -ggdb3 -gdwarf-2) \
$(if $(RELEASE),-O2,-O0 -ggdb3 -gdwarf-2) \
-DMONOTOUCH=1
ios_LDFLAGS=