[packages/chromium-browser] - filterout cflags -fstack-protector for now
glen
glen at pld-linux.org
Wed Sep 26 22:04:11 CEST 2012
commit c6325ea221a83918ae982fc4d36f362dd9cd2e07
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Sep 26 23:03:48 2012 +0300
- filterout cflags -fstack-protector for now
chromium-browser.spec | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/chromium-browser.spec b/chromium-browser.spec
index 05981ff..9de1680 100644
--- a/chromium-browser.spec
+++ b/chromium-browser.spec
@@ -26,6 +26,16 @@
%bcond_without libjpegturbo # use libjpeg-turbo features
%bcond_with verbose # verbose build (V=1)
+%if %{with nacl}
+# temporary hack as seems this does not work: http://codereview.chromium.org/8890043
+# nacl_bootstrap.c:(.text.load_elf_file+0x707): undefined reference to `__stack_chk_fail'
+#14:08:04 @baggins> glen: yes, I added SSP in rpm5, add -lssp to link flags to fix it
+#14:19:42 @baggins> it doesn't hurt to add -lssp here and there, and we'll be a bit more secure
+#14:51:06 @baggins> as-needed will take care of unneeded lib
+#14:52:03 @baggins> -lssp comes with gcc
+%define filterout_c -fstack-protector
+%endif
+
# TODO
# - check system sqlite linking problems
# - find system deps: find -name '*.gyp*' | xargs grep 'use_system.*=='
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/c6325ea221a83918ae982fc4d36f362dd9cd2e07
More information about the pld-cvs-commit
mailing list