[systemd-devel] [PATCH] build: if -fstack-protector-strong is available, use it.
Cristian Rodríguez
crrodriguez at opensuse.org
Fri Apr 11 18:57:02 PDT 2014
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 5074114..d40fb38 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,6 +156,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-ffunction-sections \
-fdata-sections \
-fstack-protector \
+ -fstack-protector-strong \
--param=ssp-buffer-size=4])
AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
[CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
--
1.8.4.5
More information about the systemd-devel
mailing list