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
This commit is contained in:
parent
0457a4e053
commit
306c3c4d90
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user