aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lang-specs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r--gcc/cp/lang-specs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
index 9adda3d5edd..74f6e7d8171 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
@@ -47,6 +47,8 @@ Boston, MA 02111-1307, USA. */
CPLUSPLUS_CPP_SPEC, 0, 0},
{"@c++",
"%{E|M|MM:cc1plus -E %(cpp_options) %2 %(cpp_debug_options)}\
+ "/* APPLE LOCAL prohibit -arch with -E and -S */"\
+ %{E|S:%{@:%e-E and -S are not allowed with multiple -arch flags}}\
%{!E:%{!M:%{!MM:\
%{save-temps|no-integrated-cpp:cc1plus -E\
%(cpp_options) %2 -o %{save-temps:%b.ii} %{!save-temps:%g.ii} \n}\