mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue