diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-05-19 21:53:53 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-05-19 21:53:53 +0000 |
commit | e0322d5ca59e5d8657799c2c5453319a89c7a5a5 (patch) | |
tree | ee6a881b61f9afa791ff8b9df53883da2b15c9e0 /gcc/config/alpha/linux.h | |
parent | e3227f2c44019c858c2eb6430a0fd3237f245d02 (diff) | |
download | gcc-e0322d5ca59e5d8657799c2c5453319a89c7a5a5.zip gcc-e0322d5ca59e5d8657799c2c5453319a89c7a5a5.tar.gz gcc-e0322d5ca59e5d8657799c2c5453319a89c7a5a5.tar.bz2 |
c-common.c (preprocessing_asm): New macro.
* c-common.c (preprocessing_asm): New macro.
* c-lex.h (builtin_define, builtin_assert): Use pfile.
doc:
* tm.texi: Update.
config/alpha:
* alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
(CPP_SPEC): Simplify.
(TARGET_CPU_CPP_BUILTINS): Update.
* freebsd.h (TARGET_OS_CPP_BUILTINS): New.
(CPP_SPEC): Simplify.
* linux.h (CPLUSPLUS_CPP_SPEC): Remove.
(TARGET_OS_CPP_BUILTINS): Update.
* osf.h (CPP_XFLOAT_SPEC): Kill.
(TARGET_OS_CPP_BUILTINS): Update.
(CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
* osf5.h (CPP_XFLOAT_SPEC): Kill.
* vms.h (CPP_SUBTARGET_SPEC): Kill.
(TARGET_OS_CPP_BUILTINS): Update.
From-SVN: r53641
Diffstat (limited to 'gcc/config/alpha/linux.h')
-rw-r--r-- | gcc/config/alpha/linux.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h index d98a34d..461bd0e 100644 --- a/gcc/config/alpha/linux.h +++ b/gcc/config/alpha/linux.h @@ -30,12 +30,11 @@ Boston, MA 02111-1307, USA. */ builtin_define_std ("linux"); \ builtin_define_std ("unix"); \ builtin_assert ("system=linux"); \ + /* The GNU C++ standard library requires this. */ \ + if (c_language == clk_cplusplus) \ + builtin_define ("_GNU_SOURCE"); \ } while (0) -/* The GNU C++ standard library requires that these macros be defined. */ -#undef CPLUSPLUS_CPP_SPEC -#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" - #undef LIB_SPEC #define LIB_SPEC \ "%{shared: -lc} \ |