diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2012-12-05 21:10:18 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2012-12-05 21:10:18 +0000 |
commit | 833fe7dadc06faaeefb7812a69dcc9a178543184 (patch) | |
tree | 6f343097a679619b580e33a5f705a73b6b4bd92d /gcc/config/t-darwin | |
parent | b08c12cb46738547176092037cffed6e054e6f28 (diff) | |
download | gcc-833fe7dadc06faaeefb7812a69dcc9a178543184.tar.gz |
re PR target/54160 (gcc should not define __OBJC2__ when lang is not set to ObjC (gcc 4.6 and later))
PR target/54160
* config/t-darwin (darwin-c.o): Depend on $(CPP_INTERNAL_H).
* config/darwin-c.c (darwin_cpp_builtins): Only set __OBJC2__
when in obj mode.
Include libcpp/internal.h.
From-SVN: r194227
Diffstat (limited to 'gcc/config/t-darwin')
-rw-r--r-- | gcc/config/t-darwin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/t-darwin b/gcc/config/t-darwin index e2bd74d61b0..0e8346b6a89 100644 --- a/gcc/config/t-darwin +++ b/gcc/config/t-darwin @@ -29,7 +29,7 @@ darwin.o: $(srcdir)/config/darwin.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ darwin-c.o: $(srcdir)/config/darwin-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TM_H) $(CPPLIB_H) $(TREE_H) $(C_PRAGMA_H) $(TM_P_H) \ - incpath.h flags.h $(C_COMMON_H) $(C_TARGET_H) $(C_TARGET_DEF_H) + incpath.h flags.h $(C_COMMON_H) $(C_TARGET_H) $(C_TARGET_DEF_H) $(CPP_INTERNAL_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(srcdir)/config/darwin-c.c $(PREPROCESSOR_DEFINES) |