25 lines
679 B
Plaintext
25 lines
679 B
Plaintext
import os ;
|
|
|
|
ANDROID_TOOLCHAIN = [ os.environ ANDROID_TOOLCHAIN ] ;
|
|
ANDROID_API = [ os.environ android_api ] ;
|
|
|
|
using clang-linux : arm : $(ANDROID_TOOLCHAIN)/bin/armv7a-linux-androideabi$(ANDROID_API)-clang++ :
|
|
<cxxflags>-fPIC
|
|
<cxxflags>-march=armv7-a
|
|
<cxxflags>-mfpu=neon
|
|
<cxxflags>-std=c++14
|
|
<cxxflags>-DANDROID
|
|
<cxxflags>-D__STDC_FORMAT_MACROS
|
|
<cxxflags>-D_FILE_OFFSET_BITS=64
|
|
<cxxflags>-frtti
|
|
<cxxflags>-fno-strict-aliasing
|
|
<cxxflags>-fvisibility=hidden
|
|
<linkflags>-static-libstdc++
|
|
<linkflags>-fuse-ld=bfd
|
|
# debug information
|
|
<cxxflags>-g
|
|
<cxxflags>-gdwarf-4
|
|
<cxxflags>-fdebug-macro
|
|
<cxxflags>-ggdb
|
|
;
|