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.
This commit is contained in:
Marcel Moolenaar 2008-09-26 15:00:18 +00:00
parent 7818e0a545
commit 3e5dafac90

View File

@ -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"