Fix libstand on amd64. Rev 1.46 (obrien) removed the -I. that the
bzip2 support provided, and amd64 depended on. Amd64 has a custom ${.OBJDIR}/machine symlink in it and the -I. picked this up. Without it, the libstand code was being compiled in 32 bit mode, but with 64 bit machine headers.
This commit is contained in:
parent
cebddbda3b
commit
d9d99c5478
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146425
@ -25,7 +25,7 @@ CFLAGS+= -mpreferred-stack-boundary=2
|
||||
CFLAGS+= -msoft-float -D_STANDALONE
|
||||
.endif
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
CFLAGS+= -m32
|
||||
CFLAGS+= -m32 -I.
|
||||
.endif
|
||||
|
||||
# standalone components and stuff we have modified locally
|
||||
|
Loading…
Reference in New Issue
Block a user