gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] 04/05: replace if with AS_IF (#5709, wip)


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 04/05: replace if with AS_IF (#5709, wip)
Date: Sun, 12 May 2019 21:48:23 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit 652659a8d4fdb762f5833349506a837183a749ab
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun May 12 21:39:25 2019 +0200

    replace if with AS_IF (#5709, wip)
---
 configure.ac | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7006d377..583c1b2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -431,12 +431,11 @@ AC_DEFINE_UNQUOTED([HAVE_DEVELOPER],[$enable_dev],[1 if 
developer logic is enabl
 # -D_FORTIFY_SOURCE=2 -fstack-protector-all
 AC_ARG_ENABLE(gcc-hardening,
    AS_HELP_STRING(--enable-gcc-hardening, enable compiler security checks),
-[if test x$enableval = xyes; then
+[AS_IF([test x$enableval = xyes],[
     CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 
-fstack-protector-all"
     CFLAGS="$CFLAGS -fwrapv -fPIE -Wstack-protector"
     CFLAGS="$CFLAGS --param ssp-buffer-size=1"
-    LDFLAGS="$LDFLAGS -pie"
-fi])
+    LDFLAGS="$LDFLAGS -pie"])])
 
 
 # Linker hardening options

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]