summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-05-16 15:18:13 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-05-16 15:18:13 +0000
commit2898afe627228ee80c89251156ad99cce18614f6 (patch)
tree38291e4ff2f62dbf54aec664db53a45b58a4f2f0 /gnu/usr.bin/cc
parentf2603ec30c054c98fa051805947c42dd82ea694c (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile4
-rw-r--r--gnu/usr.bin/cc/cc_tools/auto-host.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 22bb6f99bdef..51522205a239 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -19,6 +19,10 @@ CFLAGS+= -I.
CFLAGS+= -static -DGENERATOR_FILE
+.if defined(BOOTSTRAPPING)
+CFLAGS+= -DBOOTSTRAPPING
+.endif
+
#-----------------------------------------------------------------------
# insn-* gunk
diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h
index 338b5d34124d..34319a3d38a9 100644
--- a/gnu/usr.bin/cc/cc_tools/auto-host.h
+++ b/gnu/usr.bin/cc/cc_tools/auto-host.h
@@ -97,7 +97,10 @@
/* #undef HAVE___ARGZ_STRINGIFY */
/* Define if you have the atoll function. */
+#ifndef BOOTSTRAPPING
+/* FreeBSD didn't always have atoll(3). */
#define HAVE_ATOLL 1
+#endif
/* Define if you have the atoq function. */
/* #undef HAVE_ATOQ */