diff options
Diffstat (limited to 'usr.bin/pcc/os/linux/ccconfig.h')
-rw-r--r-- | usr.bin/pcc/os/linux/ccconfig.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/usr.bin/pcc/os/linux/ccconfig.h b/usr.bin/pcc/os/linux/ccconfig.h index 73db9210a66..d055342da35 100644 --- a/usr.bin/pcc/os/linux/ccconfig.h +++ b/usr.bin/pcc/os/linux/ccconfig.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ccconfig.h,v 1.2 2007/09/15 22:04:39 ray Exp $ */ +/* $OpenBSD: ccconfig.h,v 1.3 2007/09/19 15:21:07 todd Exp $ */ /* * Copyright (c) 2004 Anders Magnusson (ragge@ludd.luth.se). @@ -40,10 +40,11 @@ #define ENDFILES { "/usr/lib/gcc/i586-suse-linux/4.1.0/crtend.o", "/usr/lib/crtn.o", NULL } #define STARTLABEL "_start" -#if defined(mach_x86) -#define CPPMDADD { "-D__i386__", NULL, } -#else -#error defines for arch missing -#endif +#define CPPMDADDS { \ + { "x86", { "-D__i386__", NULL, } }, \ + { NULL }, \ +} + +#define MAXCPPMDARGS 2 #define STABS |