aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-07-23 08:22:49 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-07-23 08:22:49 +0000
commit5b81c621570a7aea3c305211aaba7ac3927f85a6 (patch)
tree19d2abbe9a0b2f43be9b51f130b41529a4982293 /Makefile
parent74c965153c5a01c541c7015d06648c4e2fd30d39 (diff)
downloadsrc-5b81c621570a7aea3c305211aaba7ac3927f85a6.tar.gz
src-5b81c621570a7aea3c305211aaba7ac3927f85a6.zip
MFC: 1.247: Bootstrap make(1) not supporting the :C modifier
(currently used by sys/dev/aic7xxx/aicasm/Makefile,v 1.8.2.3).
Notes
Notes: svn path=/stable/4/; revision=100554
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 32dad4cf5590..504439070131 100644
--- a/Makefile
+++ b/Makefile
@@ -161,6 +161,11 @@ upgrade_checks:
if ! make -m ${.CURDIR}/share/mk -Dnotdef 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