@@ -70,26 +70,18 @@ local _DEF_COM_CMDLINE =
7070 -resource-dir "$(_A_NDK_DIR)/toolchains/llvm/prebuilt/$(_A_NDK_PREBUILT_SUFFIX)/$(_AndroidClangLibFolder)/clang/$(_AndroidClangVer)"
7171 -isystem $(_A_NDK_DIR)/sources/cxx-stl/llvm-libc++/include
7272 -isystem $(_A_NDK_DIR)/sources/cxx-stl/llvm-libc++abi/include
73- -D__ANDROID_API__=$(AndroidApiMinVer)
7473 -Werror -Wno-trigraphs -Wno-multichar -Wno-pointer-sign -Wno-varargs
7574 -Wno-deprecated-register -Wno-null-dereference -Wno-unused-value
7675 -Wno-constant-conversion -Wno-pointer-bool-conversion -Wno-nullability-completeness
7776 -Wno-inconsistent-missing-override -Wno-c++17-compat-mangling
7877 -Wno-nonportable-include-path
79- -DANDROID_NDK -DANDROID -D__ANDROID__ -D__ARM_EABI__
8078 -fno-strict-aliasing #-fno-omit-frame-pointer -fno-short-enums
8179 -fpic -fstack-protector
8280 -ffunction-sections -fno-data-sections
8381 -ffast-math -ffinite-math-only -mrecip=none
84- "\"-D__forceinline=inline __attribute__((always_inline))\"" -D__cdecl= -D__stdcall= -D__fastcall=
85- -D_TARGET_ANDROID
86- -D_TARGET_STATIC_LIB
87- -D_snprintf=snprintf
88- -D_vsnprintf=vsnprintf
89- -Dstricmp=strcasecmp
90- -Dstrnicmp=strncasecmp
91- -Dstrcpy_s=strcpy
92- -D_countof=countof
82+ -D_TARGET_ANDROID -D_TARGET_STATIC_LIB
83+ -DANDROID_NDK -DANDROID -D__ANDROID__ -D__ARM_EABI__
84+ -D__ANDROID_API__=$(AndroidApiMinVer)
9385;
9486
9587if $(ClangThreadSafety) = yes {
@@ -184,8 +176,16 @@ _INCLUDE =
184176;
185177
186178# make compiler cmd-line ###
187- _CPP_BASE_INCLUDES = "-iwithprefix "$(MasterPreInclude) "-I "$(MasterPreInclude) -isystem $(Root)/prog/dagorInclude "-I "$(Root)/prog/1stPartyLibs "-I "$(Root)/prog/3rdPartyLibs/eastl/include ;
188- _C_BASE_INCLUDES = "-iwithprefix "$(MasterPreInclude) "-I "$(MasterPreInclude) -isystem $(Root)/prog/dagorInclude "-I "$(Root)/prog/1stPartyLibs ;
179+ _CPP_BASE_INCLUDES =
180+ "-iwithprefix "$(MasterPreInclude) "-I "$(MasterPreInclude)
181+ -isystem $(Root)/prog/dagorInclude -include supp/dag_compatibility_defines_android.h
182+ "-I "$(Root)/prog/1stPartyLibs "-I "$(Root)/prog/3rdPartyLibs/eastl/include
183+ ;
184+ _C_BASE_INCLUDES =
185+ "-iwithprefix "$(MasterPreInclude) "-I "$(MasterPreInclude)
186+ -isystem $(Root)/prog/dagorInclude -include supp/dag_compatibility_defines_android.h
187+ "-I "$(Root)/prog/1stPartyLibs
188+ ;
189189
190190# _CPP_BASE_INCLUDES +=
191191# -I $(_A_NDK_DIR)/sources/cxx-stl/llvm-libc++/include
0 commit comments