diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-03-24 15:47:05 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-03-24 15:47:05 -0400 |
commit | 5382942fc080c0d8f8664f64f0a5709ca9886ccd (patch) | |
tree | 6f9e0a9b0086d74e41da35ee94f6cc09a895288f /RELEASES.md | |
parent | 629a1b62f1c41cb9533a6977e63402a55e601d23 (diff) | |
download | bfs-5382942fc080c0d8f8664f64f0a5709ca9886ccd.tar.xz |
Makefile: Don't use target-specific variables for configuration targets
In things like
release: CFLAGS := ...
release: bfs
CFLAGS is only set for the dependencies of release, so
$ make release check
doesn't set CFLAGS for tests/mksock. For the same reason,
$ make asan ubsan
was broken, because only the asan flags would be set for bfs.
Fix it by checking MAKECMDGOALS for those targets manually instead.
Diffstat (limited to 'RELEASES.md')
0 files changed, 0 insertions, 0 deletions