summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/msun/tests/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/msun/tests/Makefile b/lib/msun/tests/Makefile
index 2561ef7..a82f29f 100644
--- a/lib/msun/tests/Makefile
+++ b/lib/msun/tests/Makefile
@@ -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
OpenPOWER on IntegriCloud