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.
This commit is contained in:
parent
e32fc00efe
commit
a962d1ba86
@ -64,7 +64,7 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
#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. */
|
||||
|
Loading…
Reference in New Issue
Block a user