chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2571ead
)
build-sys: use _FORTIFY_SOURCE with new gcc level -Og
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 21 Mar 2013 18:53:12 +0000
(18:53 +0000)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 22 Mar 2013 02:39:23 +0000
(22:39 -0400)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index ae492cfe62161ad5de6282914983ab5f00985807..79a4ec452113d804815704eaf7dac71919c3a3bb 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-135,7
+135,7
@@
CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
--param=ssp-buffer-size=4])
AC_SUBST([OUR_CFLAGS], $with_cflags)
-AS_CASE([$CFLAGS], [*-O[[12345\ ]]*], [
+AS_CASE([$CFLAGS], [*-O[[12345
g
\ ]]*], [
CC_CHECK_FLAGS_APPEND([with_cppflags], [CPPFLAGS], [\
-Wp,-D_FORTIFY_SOURCE=2])], [
python_extra_cflags=-Wp,-U_FORTIFY_SOURCE