From 3e5dafac903700c63dd4139db4c025b97133befa Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Fri, 26 Sep 2008 15:00:18 +0000 Subject: [PATCH] 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. --- gnu/lib/csu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile index 6a279690ccf9..db5690af4e8d 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"