Module Name: src Committed By: rillig Date: Tue Aug 25 16:39:19 UTC 2020
Modified Files: src/usr.bin/make: Makefile Log Message: make(1): allow custom build options To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/usr.bin/make/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/Makefile diff -u src/usr.bin/make/Makefile:1.92 src/usr.bin/make/Makefile:1.93 --- src/usr.bin/make/Makefile:1.92 Sun Aug 23 17:22:52 2020 +++ src/usr.bin/make/Makefile Tue Aug 25 16:39:19 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.92 2020/08/23 17:22:52 rillig Exp $ +# $NetBSD: Makefile,v 1.93 2020/08/25 16:39:19 rillig Exp $ # @(#)Makefile 5.2 (Berkeley) 12/28/90 PROG= make @@ -164,6 +164,11 @@ COPTS.parse.c+= ${GCC_NO_FORMAT_TRUNCATI COPTS+= -Wdeclaration-after-statement +# For -DCLEANUP and similar feature toggles. +CPPFLAGS+= ${USER_CPPFLAGS} +# For overriding -std=gnu99 or similar options. +CFLAGS+= ${USER_CFLAGS} + # A simple unit-test driver to help catch regressions TEST_MAKE ?= ${.OBJDIR}/${PROG:T} test: .MAKE