@@ -30,23 +30,27 @@ systems: [
30
30
[0.4.04 "linux" posix [+O2 HID LDL ST1 M32 -LM]] ; libc 2.11
31
31
[0.4.10 "linux_ppc" posix [+O1 HID LDL ST1 -LM]]
32
32
[0.4.20 "linux_arm" posix [+O2 HID LDL ST1 -LM]]
33
+ [0.4.21 "linux_arm" posix [+O2 HID LDL ST1 -LM PIE]] ; bionic (Android)
33
34
[0.4.30 "linux_mips" posix [+O2 HID LDL ST1 -LM]] ; glibc does not need C++
34
35
[0.4.40 "linux_x64" posix [+O2 HID LDL ST1 -LM]]
35
36
[0.5.75 "haiku" posix [+O2 ST1 NWK]]
36
37
[0.7.02 "freebsd" posix [+O1 C++ ST1 -LM]]
37
38
[0.9.04 "openbsd" posix [+O1 C++ ST1 -LM]]
39
+ [0.13.01 "android_arm" android [HID F64 LDL LLOG -LM CST]]
38
40
]
39
41
40
42
compile-flags: [
41
43
+OS: "-Os" ; size optimize
42
44
+O1: "-O1" ; full optimize
43
45
+O2: "-O2" ; full optimize
44
46
UNI: "-DUNICODE" ; win32 wants it
47
+ CST: "-DCUSTOM_STARTUP" ; include custom startup script at host boot
45
48
HID: "-fvisibility=hidden" ; all syms are hidden
46
49
F64: "-D_FILE_OFFSET_BITS=64" ; allow larger files
47
50
NPS: "-Wno-pointer-sign" ; OSX fix
48
51
NSP: "-fno-stack-protector" ; avoid insert of functions names
49
52
PIC: "-fPIC" ; position independent (used for libs)
53
+ PIE: "-fPIE" ; position independent (executables)
50
54
DYN: "-dynamic" ; optimize for dll??
51
55
NCM: "-fno-common" ; lib cannot have common vars
52
56
PAK: "-fpack-struct" ; pack structures
@@ -59,6 +63,7 @@ linker-flags: [
59
63
STA: "--strip-all"
60
64
C++: "-lstdc++" ; link with stdc++
61
65
LDL: "-ldl" ; link with dynamic lib lib
66
+ LLOG: "-llog" ; on Android, link with liblog.so
62
67
ARC: "-arch i386" ; x86 32 bit architecture (OSX)
63
68
M32: "-m32" ; use 32-bit memory model (Linux x64)
64
69
W32: "-lwsock32 -lcomdlg32"
0 commit comments