summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2005-05-20 03:18:19 +0000
committerpeter <peter@FreeBSD.org>2005-05-20 03:18:19 +0000
commit6deaeb72e1f879675b00a15b29b568573740bcb2 (patch)
tree6d37d6f2c9ac8f9702039b88c1190cc378c1cd41 /lib/libstand
parentcb815ff30fbde65924063d785b490037a83852ce (diff)
downloadFreeBSD-src-6deaeb72e1f879675b00a15b29b568573740bcb2.zip
FreeBSD-src-6deaeb72e1f879675b00a15b29b568573740bcb2.tar.gz
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.
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index 0e0652d..ecfa28b 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -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
OpenPOWER on IntegriCloud