Lines Matching +full:- +full:fpie
7 # http://www.apache.org/licenses/LICENSE-2.0
21 "-Wall",
22 "-Wextra",
26 # are rolled into OSS-fuzz.
29 "-Weverything",
30 "-Wno-c++98-compat-pedantic",
31 "-Wno-c++98-compat",
32 "-Wno-disabled-macro-expansion",
33 "-Wno-gnu-include-next",
34 "-Wno-gnu-statement-expression",
35 "-Wno-gnu-zero-variadic-macro-arguments",
36 "-Wno-padded",
37 "-Wno-reserved-id-macro",
38 "-Wno-unknown-sanitizers",
44 cflags_cc = [ "-fno-exceptions" ]
48 cflags_cc = [ "-fno-rtti" ]
52 cflags_cc = [ "-std=c++11" ]
57 cflags_cc = [ "-std=c++17" ]
61 cflags = [ "-fvisibility=hidden" ]
74 "-fstrict-aliasing",
75 "-fstack-protector",
76 "-fPIC",
77 "-g",
78 "-Wformat",
79 "-Werror",
83 cflags += [ "-Wa,--noexecstack" ]
88 # Color compiler output, see https://github.com/ninja-build/ninja/wiki/FAQ
89 "-fcolor-diagnostics",
90 "-fdiagnostics-show-template-tree",
95 cflags += [ "-flto=full" ]
96 ldflags += [ "-flto=full" ]
101 "-march=armv7-a",
102 "-mfpu=neon",
103 "-mthumb",
106 asmflags += [ "-m32" ]
108 "-m32",
109 "-msse2",
110 "-mfpmath=sse",
112 ldflags += [ "-m32" ]
114 cflags += [ "-fno-omit-frame-pointer" ]
129 asmflags += [ "--target=$android_abi_target" ]
131 "--sysroot=$android_compile_sysroot",
132 "-isystem$android_compile_sysroot/$android_compile_sysroot_subdir",
133 "-isystem$android_compile_sysroot",
134 "-DANDROID",
135 "-D__ANDROID_API__=${android_api_level}",
136 "--target=$android_abi_target",
139 "-I$android_ndk_root/sources/cxx-stl/llvm-libc++/include",
140 "-I$android_ndk_root/sources/android/support/include",
141 "-I$android_ndk_root/sources/cxx-stl/llvm-libc++abi/include",
143 # This is needed for NDK libc++. Using -isystem instead of -I above
145 "-Wno-format-nonliteral",
148 "-Wl,-z,nocopyreloc",
149 "-gcc-toolchain",
151 "--sysroot=$android_ndk_root/$android_link_sysroot_subdir",
152 "--target=$android_abi_target",
153 "-Wl,--exclude-libs,libunwind.a",
154 "-Wl,--exclude-libs,libgcc.a",
155 "-Wl,--exclude-libs,libc++_static.a",
156 "-Wl,--build-id",
157 "-Wl,--no-undefined",
158 "-Wl,-z,noexecstack",
159 "-Wl,-z,relro",
160 "-Wl,-z,now",
161 "-Wl,--warn-shared-textrel",
162 "-Wl,--fatal-warnings",
165 "$android_ndk_root/sources/cxx-stl/llvm-libc++/libs/$android_app_abi",
181 cflags = [ "-O0" ]
183 cflags += [ "-funwind-tables" ]
189 "-fdata-sections",
190 "-ffunction-sections",
193 cflags += [ "-Oz" ]
195 cflags += [ "-O1" ]
197 cflags += [ "-O3" ]
200 ldflags = [ "-dead_strip" ]
203 "-fuse-ld=gold",
204 "-Wl,--gc-sections",
205 "-Wl,--icf=all",
206 "-Wl,-O1",
214 ldflags = [ "-fPIC" ]
224 asmflags = [ "-fPIE" ]
225 cflags = [ "-fPIE" ]
226 ldflags += [ "-pie" ]
229 # -rpath stores the path to the linked shared libraries into the binary, so
236 "-Wl,-rpath=\$ORIGIN/.",
237 "-Wl,-rpath-link=.",
243 # This allows us to remove the config (and thus the dependency) on a per-target