aboutsummaryrefslogtreecommitdiffstats
path: root/core/gcc/00_all_gcc-4.0-cvs-incompat.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2008-11-14 12:17:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2008-11-14 12:17:37 +0000
commit7302771c39779f185af8a4c34f5d8cb2e35aacd4 (patch)
tree3408c8f2efd4312551aca7618ef4079a6f248334 /core/gcc/00_all_gcc-4.0-cvs-incompat.patch
parent5c33ddd595358812dc26437a936e4a1a02e9fc8e (diff)
downloadaports-7302771c39779f185af8a4c34f5d8cb2e35aacd4.tar.bz2
aports-7302771c39779f185af8a4c34f5d8cb2e35aacd4.tar.xz
core/gcc: new aport
Diffstat (limited to 'core/gcc/00_all_gcc-4.0-cvs-incompat.patch')
-rw-r--r--core/gcc/00_all_gcc-4.0-cvs-incompat.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/gcc/00_all_gcc-4.0-cvs-incompat.patch b/core/gcc/00_all_gcc-4.0-cvs-incompat.patch
new file mode 100644
index 0000000000..e5bc302e26
--- /dev/null
+++ b/core/gcc/00_all_gcc-4.0-cvs-incompat.patch
@@ -0,0 +1,11 @@
+--- gcc-4.0.old/gcc/gcc.c.mps Sun Nov 14 21:10:35 2004
++++ gcc-4.0/gcc/gcc.c Sun Nov 14 21:43:17 2004
+@@ -794,6 +794,8 @@
+ /* NB: This is shared amongst all front-ends. */
+ static const char *cc1_options =
+ "%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
++ %{shared:%{static|pie|fPIE|fpie|fno-PIC|fno-pic:%e-shared and -static|pie|fPIE|fpie|fno-PIC|fno-pic are incompatible}}\
++ %{pie:%{static|pg|p|profile:%e-pie and -static|pg|p|profile are incompatible}}\
+ %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*}\
+ %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}}\
+ %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi}\