summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-09-26 15:00:18 +0000
committermarcel <marcel@FreeBSD.org>2008-09-26 15:00:18 +0000
commit3173a02afff54484beaa427a0e2cecf269b98d4a (patch)
treeac0769b10948d55e149d28092ca3d0b0c288b376 /gnu
parent496b70bc6ae4c9f8b2f01168acbb39b39e6f3112 (diff)
downloadFreeBSD-src-3173a02afff54484beaa427a0e2cecf269b98d4a.zip
FreeBSD-src-3173a02afff54484beaa427a0e2cecf269b98d4a.tar.gz
Add -D_OSRELDATE_H to CFLAGS to prevent the declaration of
getosreldate() in assembler source files. We still get the definition of __FreeBSD_version this way, because it's outside the standard multiple-inclusion protection trick. All this is specific to ia64.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/csu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile
index 6a27969..db5690a 100644
--- a/gnu/lib/csu/Makefile
+++ b/gnu/lib/csu/Makefile
@@ -25,7 +25,7 @@ WITHOUT_SSP=
BEGINSRC= crtbegin.asm
ENDSRC= crtend.asm
CFLAGS+= -x assembler-with-cpp # Ugly hack
-CFLAGS+= -include osreldate.h
+CFLAGS+= -D_OSRELDATE_H -include osreldate.h
.undef SRCS # hack for 'make depend'
.endif
.if ${MACHINE_ARCH} == "powerpc"
OpenPOWER on IntegriCloud