svn commit: r297836 - head/lib/msun/tests
Garrett Cooper
ngie at FreeBSD.org
Mon Apr 11 21:15:49 UTC 2016
Author: ngie
Date: Mon Apr 11 21:15:48 2016
New Revision: 297836
URL: https://svnweb.freebsd.org/changeset/base/297836
Log:
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.
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Modified:
head/lib/msun/tests/Makefile
Modified: head/lib/msun/tests/Makefile
==============================================================================
--- head/lib/msun/tests/Makefile Mon Apr 11 21:12:24 2016 (r297835)
+++ head/lib/msun/tests/Makefile Mon Apr 11 21:15:48 2016 (r297836)
@@ -62,9 +62,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-head
mailing list