]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Don't be bashistic.
authorLinus Nordberg <linus@nordberg.se>
Fri, 7 May 2010 21:10:30 +0000 (23:10 +0200)
committerLinus Nordberg <linus@nordberg.se>
Fri, 7 May 2010 21:10:30 +0000 (23:10 +0200)
configure.in

index 07b3ff423b33846e4fab1f63713cdda1b31284eb..dea2b5f0f1af84426369fd5472ca1ee50ef17078 100644 (file)
@@ -98,9 +98,9 @@ AC_ARG_ENABLE(gcc-hardening,
      AS_HELP_STRING(--enable-gcc-hardening, enable compiler security checks),
 [if test x$enableval = xyes; then
     CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2 -fstack-protector-all"
-    CFLAGS+=" -fwrapv -fPIE -Wstack-protector -Wformat -Wformat-security"
-    CFLAGS+=" -Wpointer-sign"
-    LDFLAGS+=" -pie"
+    CFLAGS="$CFLAGS -fwrapv -fPIE -Wstack-protector -Wformat -Wformat-security"
+    CFLAGS="$CFLAGS -Wpointer-sign"
+    LDFLAGS="$LDFLAGS -pie"
 fi])
 
 dnl Linker hardening options
@@ -108,7 +108,7 @@ dnl Currently these options are ELF specific - you can't use this with MacOSX
 AC_ARG_ENABLE(linker-hardening,
         AS_HELP_STRING(--enable-linker-hardening, enable linker security fixups),
 [if test x$enableval = xyes; then
-    LDFLAGS+=" -z relro -z now"
+    LDFLAGS="$LDFLAGS -z relro -z now"
 fi])
 
 AC_ARG_ENABLE(local-appdata,