1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/lang/gcc32/files/patch-gcc+config+freebsd-spec.h
2005-08-28 08:01:19 +00:00

15 lines
598 B
C

--- gcc/config/freebsd-spec.h.org Sat Aug 13 10:18:00 2005
+++ gcc/config/freebsd-spec.h Sat Aug 13 18:40:03 2005
@@ -48,6 +48,11 @@
|| !strcmp ((STR), "soname") || !strcmp ((STR), "defsym") \
|| !strcmp ((STR), "assert") || !strcmp ((STR), "dynamic-linker"))
+#if FBSD_MAJOR == 7
+#define FBSD_CPP_PREDEFINES \
+ "-D__FreeBSD__=7 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+#endif
+
#if FBSD_MAJOR == 6
#define FBSD_CPP_PREDEFINES \
"-D__FreeBSD__=6 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"