1
0
mirror of https://framagit.org/tom79/fedilab-tube synced 2025-06-05 21:09:11 +02:00
This commit is contained in:
Thomas
2021-02-01 18:38:49 +01:00
parent 2cdabbcb70
commit 70e8133350
468 changed files with 130706 additions and 12 deletions

View File

@@ -0,0 +1,25 @@
import os ;
ANDROID_TOOLCHAIN = [ os.environ ANDROID_TOOLCHAIN ] ;
ANDROID_API = [ os.environ android_api ] ;
using clang : x86 : $(ANDROID_TOOLCHAIN)/bin/i686-linux-android$(ANDROID_API)-clang++ :
<cxxflags>-fPIC
<cxxflags>-std=c++14
<cxxflags>-DANDROID
<cxxflags>-D__STDC_FORMAT_MACROS
<cxxflags>-D__USE_FILE_OFFSET64
<cxxflags>-D_FILE_OFFSET_BITS=64
<cxxflags>-DWITH_IPP=OFF
<cxxflags>-frtti
<cxxflags>-fno-strict-aliasing
<cxxflags>-fvisibility=hidden
<linkflags>-static-libstdc++
# x86 devices have stack alignment issues, http://b.android.com/222239
<cxxflags>-mstackrealign
# debug information
<cxxflags>-g
<cxxflags>-gdwarf-4
<cxxflags>-fdebug-macro
<cxxflags>-ggdb
;