|
@@ -55,12 +55,12 @@ MX2_LD_OPTS_EMSCRIPTEN_RELEASE=-O3
|
|
|
'C compiler options
|
|
|
MX2_CC_OPTS_EMSCRIPTEN=-std=gnu99 -s USE_SDL=2 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1
|
|
|
MX2_CC_OPTS_EMSCRIPTEN_DEBUG=-O2
|
|
|
-MX2_CC_OPTS_EMSCRIPTEN_RELEASE=-O3
|
|
|
+MX2_CC_OPTS_EMSCRIPTEN_RELEASE=-O3 -DNDEBUG
|
|
|
|
|
|
'C++ compiler options
|
|
|
MX2_CPP_OPTS_EMSCRIPTEN=-std=c++11 -s USE_SDL=2 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1
|
|
|
MX2_CPP_OPTS_EMSCRIPTEN_DEBUG=-O2
|
|
|
-MX2_CPP_OPTS_EMSCRIPTEN_RELEASE=-O3
|
|
|
+MX2_CPP_OPTS_EMSCRIPTEN_RELEASE=-O3 -DNDEBUG
|
|
|
|
|
|
|
|
|
'***** ANDROID *****
|
|
@@ -73,16 +73,16 @@ PATH=${HOME}/Library/Android/sdk/ndk-bundle:${PATH}
|
|
|
MX2_SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk
|
|
|
|
|
|
'LD options
|
|
|
-MX2_LD_OPTS_IOS=-arch armv7 -isysroot ${MX2_SDKROOT}
|
|
|
-MX2_LD_OPTS_IOS_DEBUG=-O0 -g
|
|
|
-MX2_LD_OPTS_IOS_RELEASE=-O3
|
|
|
+MX2_LD_OPTS_IOS=-arch armv7 -arch arm64 -isysroot ${MX2_SDKROOT}
|
|
|
+MX2_LD_OPTS_IOS_DEBUG=
|
|
|
+MX2_LD_OPTS_IOS_RELEASE=-O3
|
|
|
|
|
|
'C compiler options
|
|
|
-MX2_CC_OPTS_IOS=-std=gnu99 -arch armv7 -isysroot ${MX2_SDKROOT} -fobjc-arc -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality
|
|
|
-MX2_CC_OPTS_IOS_DEBUG=-O0 -g
|
|
|
+MX2_CC_OPTS_IOS=-std=gnu99 -arch armv7 -arch arm64 -isysroot ${MX2_SDKROOT} -fobjc-arc -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality
|
|
|
+MX2_CC_OPTS_IOS_DEBUG=
|
|
|
MX2_CC_OPTS_IOS_RELEASE=-O3 -DNDEBUG
|
|
|
|
|
|
'C++ compiler options
|
|
|
-MX2_CPP_OPTS_IOS=-std=c++11 -arch armv7 -isysroot ${MX2_SDKROOT} -fobjc-arc -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality
|
|
|
+MX2_CPP_OPTS_IOS=-std=c++11 -arch armv7 -arch arm64 -isysroot ${MX2_SDKROOT} -fobjc-arc -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality
|
|
|
MX2_CPP_OPTS_IOS_DEBUG=-O0 -g
|
|
|
MX2_CPP_OPTS_IOS_RELEASE=-O3 -DNDEBUG
|