summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-10 16:56:38 +0000
committerobrien <obrien@FreeBSD.org>2000-11-10 16:56:38 +0000
commit032b6422542f8e4292c642ef62ba340a7adb112f (patch)
tree815957716a870e2158dce856c7ab4feaa7fae191
parentf47f799a769cc98b4246b011826ead3c815c4a7a (diff)
downloadFreeBSD-src-032b6422542f8e4292c642ef62ba340a7adb112f.zip
FreeBSD-src-032b6422542f8e4292c642ef62ba340a7adb112f.tar.gz
Add comment about a requirement in using a 64-bit `long' on i386.
-rw-r--r--gnu/usr.bin/cc/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc
index 79c573e..62f86be 100644
--- a/gnu/usr.bin/cc/Makefile.inc
+++ b/gnu/usr.bin/cc/Makefile.inc
@@ -29,6 +29,9 @@ version!= sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${GCCDIR}/version.c
CFLAGS+= -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H
CFLAGS+= -DPREFIX=\"${TOOLS_PREFIX}/usr\"
+
+# If building 64-bit longs for the i386, "_LARGE_LONG" should also be defined
+# to get the proper sizes in limits.h
.if defined(LONG_TYPE_SIZE)
CFLAGS+= -DLONG_TYPE_SIZE=${LONG_TYPE_SIZE}
.endif
OpenPOWER on IntegriCloud