summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-02-08 09:48:34 +0000
committerru <ru@FreeBSD.org>2002-02-08 09:48:34 +0000
commit5e0f439e9879ae986337aefe7031e3e367eb9c07 (patch)
tree717494636f4a973e4b3abb2fb0c91c86864d3b1a /Makefile
parenta051ad011b2cab2c23c832989cc9a69f7afbf577 (diff)
downloadFreeBSD-src-5e0f439e9879ae986337aefe7031e3e367eb9c07.zip
FreeBSD-src-5e0f439e9879ae986337aefe7031e3e367eb9c07.tar.gz
FreeBSD 4.1 bootstrapping aid (``:C'' make(1) modifier used
by gnu/usr.bin/binutils/as/Makefile.inc0 is not there). XXX: make(1) should return with a non-zero exit status here.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1733d67..400f2e5 100644
--- a/Makefile
+++ b/Makefile
@@ -148,6 +148,11 @@ upgrade_checks:
if ! make -m ${.CURDIR}/share/mk test > /dev/null 2>&1; then \
make make; \
fi
+ @cd ${.CURDIR}; \
+ if make -V .CURDIR:C/.// 2>&1 >/dev/null | \
+ grep -q "Unknown modifier 'C'"; then \
+ make make; \
+ fi
#
# A simple test target used as part of the test to see if make supports
OpenPOWER on IntegriCloud