diff options
author | Magnus Granberg <zorry@gentoo.org> | 2011-12-22 21:18:52 +0100 |
---|---|---|
committer | Magnus Granberg <zorry@gentoo.org> | 2011-12-22 21:18:52 +0100 |
commit | fb1940a404ba2fdb87572b754815d39fa14a2c96 (patch) | |
tree | 0e606ab4182623b41bc0acc4ee962eab385284b4 /gcc-4.5.0/piepatch/12_all_gcc45_Makefile.in.patch | |
parent | Fix bugs 380823 and 393321 part3 (diff) | |
download | hardened-gccpatchset-fb1940a404ba2fdb87572b754815d39fa14a2c96.tar.gz hardened-gccpatchset-fb1940a404ba2fdb87572b754815d39fa14a2c96.tar.bz2 hardened-gccpatchset-fb1940a404ba2fdb87572b754815d39fa14a2c96.zip |
update it to 0.4.7 fix 394821
Diffstat (limited to 'gcc-4.5.0/piepatch/12_all_gcc45_Makefile.in.patch')
-rw-r--r-- | gcc-4.5.0/piepatch/12_all_gcc45_Makefile.in.patch | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gcc-4.5.0/piepatch/12_all_gcc45_Makefile.in.patch b/gcc-4.5.0/piepatch/12_all_gcc45_Makefile.in.patch index a1f1cd1..c3e18bd 100644 --- a/gcc-4.5.0/piepatch/12_all_gcc45_Makefile.in.patch +++ b/gcc-4.5.0/piepatch/12_all_gcc45_Makefile.in.patch @@ -1,4 +1,4 @@ -2011-12-06 Magnus Granberg <zorry@gentoo.org> Anthony G. Basile <basile@opensource.dyc.edu> +2011-12-21 Magnus Granberg <zorry@gentoo.org> Anthony G. Basile <basile@opensource.dyc.edu> * Makefile.in We add -fno-stack-protector to BOOT_CFLAGS, LIBCFLAGS and LIBCXXFLAGS if enable_esp yes. * gcc/Makefile.in Add -fno-PIE and -fno-stack-protector. @@ -99,6 +99,22 @@ # List of extra object files that should be compiled and linked with # compiler proper (cc1, cc1obj, cc1plus). EXTRA_OBJS = @extra_objs@ +@@ -1002,12 +1010,12 @@ + + # This is the variable actually used when we compile. If you change this, + # you probably want to update BUILD_CFLAGS in configure.ac +-ALL_CFLAGS = $(T_CFLAGS) \ ++ALL_CFLAGS = $(ESP_NOPIE_CFLAGS) $(T_CFLAGS) $(CFLAGS-$@) \ + $(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) @DEFS@ + + # The C++ version. +-ALL_CXXFLAGS = $(T_CFLAGS) $(CXXFLAGS) $(INTERNAL_CFLAGS) \ +- $(COVERAGE_FLAGS) $(WARN_CXXFLAGS) @DEFS@ ++ALL_CXXFLAGS = $(ESP_NOPIE_CFLAGS) $(T_CFLAGS) $(CXXFLAGS) \ ++ $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CXXFLAGS) @DEFS@ + + # Likewise. Put INCLUDES at the beginning: this way, if some autoconf macro + # puts -I options in CPPFLAGS, our include files in the srcdir will always @@ -1856,9 +1873,10 @@ echo LIBGCC_SYNC = '$(LIBGCC_SYNC)' >> tmp-libgcc.mvars echo LIBGCC_SYNC_CFLAGS = '$(LIBGCC_SYNC_CFLAGS)' >> tmp-libgcc.mvars |