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:
parent
7818e0a545
commit
3e5dafac90
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user