diff options
Diffstat (limited to 'contrib/gcc/config/ia64/linux.h')
-rw-r--r-- | contrib/gcc/config/ia64/linux.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/contrib/gcc/config/ia64/linux.h b/contrib/gcc/config/ia64/linux.h index 07882cd..e1d60f7 100644 --- a/contrib/gcc/config/ia64/linux.h +++ b/contrib/gcc/config/ia64/linux.h @@ -9,10 +9,15 @@ #undef CC1_SPEC #define CC1_SPEC "%{profile:-p} %{G*}" -/* ??? Maybe this should be in sysv4.h? */ -#define CPP_PREDEFINES "\ - -D__gnu_linux__ -D__linux -D__linux__ -D_LONGLONG \ - -Dlinux -Dunix -Asystem=linux" +/* Target OS builtins. */ +#define TARGET_OS_CPP_BUILTINS() \ +do { \ + builtin_assert("system=linux"); \ + builtin_define_std("linux"); \ + builtin_define_std("unix"); \ + builtin_define("__gnu_linux__"); \ + builtin_define("_LONGLONG"); \ +} while (0) /* Need to override linux.h STARTFILE_SPEC, since it has crtbeginT.o in. */ #undef STARTFILE_SPEC |