diff options
author | peter <peter@FreeBSD.org> | 2005-05-20 03:18:19 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2005-05-20 03:18:19 +0000 |
commit | 6deaeb72e1f879675b00a15b29b568573740bcb2 (patch) | |
tree | 6d37d6f2c9ac8f9702039b88c1190cc378c1cd41 | |
parent | cb815ff30fbde65924063d785b490037a83852ce (diff) | |
download | FreeBSD-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.
-rw-r--r-- | lib/libstand/Makefile | 2 |
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 |