Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/gcc/config/arm Do not -Dunix or -Darm, as...



details:   https://anonhg.NetBSD.org/src/rev/90043cdc56bd
branches:  trunk
changeset: 522200:90043cdc56bd
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Feb 12 16:32:39 2002 +0000

description:
Do not -Dunix or -Darm, as they are namespace-invasive, and cause
variants of those CPP symbols to be defined that are contrary to
NetBSD's conventions.

Fixes building Xaw on ARM ELF.

diffstat:

 gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1ef9b8453f82 -r 90043cdc56bd gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h
--- a/gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h    Tue Feb 12 16:14:13 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/arm/netbsd-elf.h    Tue Feb 12 16:32:39 2002 +0000
@@ -64,7 +64,7 @@
 
 #undef CPP_PREDEFINES
 #define CPP_PREDEFINES "\
--Dunix -Darm -D__arm__ -D__NetBSD__ -D__ELF__ \
+-D__arm__ -D__NetBSD__ -D__ELF__ \
 -Asystem(unix) -Asystem(NetBSD) -Acpu(arm) -Amachine(arm)"
 
 /* Define _POSIX_SOURCE if necessary.  */



Home | Main Index | Thread Index | Old Index