mirror of
https://framagit.org/tom79/fedilab-tube
synced 2025-06-05 21:09:11 +02:00
lib
This commit is contained in:
25
frostwire-jlibtorrent/swig/config/android-x86-config.jam
Normal file
25
frostwire-jlibtorrent/swig/config/android-x86-config.jam
Normal 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
|
||||
;
|
Reference in New Issue
Block a user