]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
gcc: Force the patch to properly enable the SSP.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 13 Apr 2012 16:19:32 +0000 (18:19 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 13 Apr 2012 16:19:32 +0000 (18:19 +0200)
gcc/gcc.nm

index ed1b500c712782615dde4c4294de0cbfbe8536df..a87a9bfdbaaabf7069a22627b6d60b7b23588d72 100644 (file)
@@ -8,7 +8,7 @@ build_cloog_ppl = 1
 
 name       = gcc
 version    = 4.6.3
-release    = 3
+release    = 4
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = Development/Compilers
@@ -112,7 +112,8 @@ build
        end
 
        # CFLAGS for hardening.
-       HARD_CFLAGS = -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW
+       HARD_CFLAGS = -DEFAULT_PIE -DEFAULT_SSP -DEFAULT_PIE_SSP -DEFAULT_ESP_SPP \
+               -DENABLE_ESP_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW
 
        prepare_cmds
                mkdir -v %{DIR_SRC}/gcc-build