svn commit: r298491 - stable/10/lib/msun/tests
Garrett Cooper
ngie at FreeBSD.org
Fri Apr 22 21:32:02 UTC 2016
Author: ngie
Date: Fri Apr 22 21:32:01 2016
New Revision: 298491
URL: https://svnweb.freebsd.org/changeset/base/298491
Log:
MFC r297836:
Fix appending -O0 to CFLAGS
The previous method would completely nerf CFLAGS once bsd.progs.mk had
recursed into the per-PROG logic and make the CFLAGS for tap testcases
to -O0, instead of appending to CFLAGS for all of the tap testcases.
Modified:
stable/10/lib/msun/tests/Makefile
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/lib/msun/tests/Makefile
==============================================================================
--- stable/10/lib/msun/tests/Makefile Fri Apr 22 21:30:42 2016 (r298490)
+++ stable/10/lib/msun/tests/Makefile Fri Apr 22 21:32:01 2016 (r298491)
@@ -58,9 +58,9 @@ TAP_TESTS_C+= next_test
TAP_TESTS_C+= rem_test
TAP_TESTS_C+= trig_test
-.for t in ${TAP_TESTS_C}
-CFLAGS.$t+= -O0
-.endfor
+.if !empty(PROG) && !empty(TAP_TESTS_C:M${PROG})
+CFLAGS+= -O0
+.endif
CSTD= c99
More information about the svn-src-all
mailing list