summaryrefslogtreecommitdiffstats
path: root/core/gcc/00_all_gcc-4.0-cvs-incompat.patch
blob: e5bc302e2658fab7659b6904fb32a68f0598fa54 (plain)
1
2
3
4
5
6
7
8
9
10
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}\