aboutsummaryrefslogtreecommitdiff
path: root/buildconf/release.ninja
diff options
context:
space:
mode:
Diffstat (limited to 'buildconf/release.ninja')
-rw-r--r--buildconf/release.ninja6
1 files changed, 4 insertions, 2 deletions
diff --git a/buildconf/release.ninja b/buildconf/release.ninja
index 7b1281b..3774a0d 100644
--- a/buildconf/release.ninja
+++ b/buildconf/release.ninja
@@ -17,8 +17,10 @@
#
# Most of these flags come from Debian's dpkg-buildflags, with the exception
# that we aim for correctness with -O3, rather than just -O2.
-cxxflags = -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -DGLPLANET_DISABLE_EGL_THREAD_SAFETY_CHECKS -DGLPLANET_DISABLE_GL_THREAD_SAFETY_CHECKS -DGLPLANET_DISABLE_AGGRESSIVE_ERROR_CHECKING -fstack-protector-strong -ffunction-sections -fdata-sections -flto
-third_party_cxxflags = -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fstack-protector-strong -ffunction-sections -fdata-sections -flto
+cxxflags = -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 $
+ -DNDEBUG -fstack-protector-strong -ffunction-sections -fdata-sections -flto
+third_party_cxxflags = -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG $
+ -fstack-protector-strong -ffunction-sections -fdata-sections -flto
ldflags = -flto -Wl,-O2 -Wl,-z,relro -Wl,--gc-sections -Wl,--as-needed