summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-18 04:49:44 +0000
committerobrien <obrien@FreeBSD.org>2002-05-18 04:49:44 +0000
commit2f9891cf777d805b70216cd0d7f6b3617fb70c0a (patch)
tree1600f9629ec6462914679976366c7f776ade20bc /gnu
parent34385491256b0ba25c8bfd3780bf9639b2dec0c4 (diff)
downloadFreeBSD-src-2f9891cf777d805b70216cd0d7f6b3617fb70c0a.zip
FreeBSD-src-2f9891cf777d805b70216cd0d7f6b3617fb70c0a.tar.gz
Use a more API denoting way to handle what is in libc and what isn't.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile4
-rw-r--r--gnu/usr.bin/cc/cc_tools/auto-host.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 5152220..22bb6f9 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -19,10 +19,6 @@ 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 34319a3..3b5b0b8 100644
--- a/gnu/usr.bin/cc/cc_tools/auto-host.h
+++ b/gnu/usr.bin/cc/cc_tools/auto-host.h
@@ -1,5 +1,7 @@
/* $FreeBSD$ */
+#include <sys/param.h>
+
/* auto-host.h. Generated automatically by configure. */
/* config.in. Generated automatically from configure.in by autoheader 2.13. */
@@ -97,7 +99,7 @@
/* #undef HAVE___ARGZ_STRINGIFY */
/* Define if you have the atoll function. */
-#ifndef BOOTSTRAPPING
+#if __FreeBSD_version >= 500027
/* FreeBSD didn't always have atoll(3). */
#define HAVE_ATOLL 1
#endif
OpenPOWER on IntegriCloud