mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
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.
This commit is contained in:
parent
224be49968
commit
fca4e6c8f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=298491
@ -58,9 +58,9 @@ TAP_TESTS_C+= next_test
|
|||||||
TAP_TESTS_C+= rem_test
|
TAP_TESTS_C+= rem_test
|
||||||
TAP_TESTS_C+= trig_test
|
TAP_TESTS_C+= trig_test
|
||||||
|
|
||||||
.for t in ${TAP_TESTS_C}
|
.if !empty(PROG) && !empty(TAP_TESTS_C:M${PROG})
|
||||||
CFLAGS.$t+= -O0
|
CFLAGS+= -O0
|
||||||
.endfor
|
.endif
|
||||||
|
|
||||||
CSTD= c99
|
CSTD= c99
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user