diff options
author | ru <ru@FreeBSD.org> | 2002-02-08 09:48:34 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-02-08 09:48:34 +0000 |
commit | 5e0f439e9879ae986337aefe7031e3e367eb9c07 (patch) | |
tree | 717494636f4a973e4b3abb2fb0c91c86864d3b1a /Makefile | |
parent | a051ad011b2cab2c23c832989cc9a69f7afbf577 (diff) | |
download | FreeBSD-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-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |