diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-21 18:53:12 +0000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-21 22:39:23 -0400 |
commit | 7cb2086695fdeed33b2fb148492a224dd951fa7e (patch) | |
tree | ea780a489b390beb5b9958e62ffcd3afe0ddb44a /configure.ac | |
parent | 2571ead1a6d2747f85ecbc980285a22421e76e21 (diff) |
build-sys: use _FORTIFY_SOURCE with new gcc level -Og
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ae492cfe62..79a4ec4521 100644 --- 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[[12345g\ ]]*], [ CC_CHECK_FLAGS_APPEND([with_cppflags], [CPPFLAGS], [\ -Wp,-D_FORTIFY_SOURCE=2])], [ python_extra_cflags=-Wp,-U_FORTIFY_SOURCE |