mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-27 12:04:43 +08:00
MCONFIG: move SANITIZER_CFLAGS out of CLFAGS
CFLAGS is supposed to be something that can be overridden by the developer. So extra stuff like $(SANITIZER_CFLAGS) should not be defined there, but rather in ALL_CFLAGS. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
3882fb463c
commit
57e976e20e
12
MCONFIG.in
12
MCONFIG.in
@ -86,13 +86,13 @@ SANITIZER_LDFLAGS = @lto_ldflags@ @ubsan_ldflags@ @addrsan_ldflags@ @threadsan_l
|
||||
|
||||
CC = @CC@
|
||||
BUILD_CC = @BUILD_CC@
|
||||
CFLAGS = $(SANITIZER_CFLAGS) @CFLAGS@
|
||||
CFLAGS_SHLIB = $(SANITIZER_CFLAGS) @CFLAGS_SHLIB@
|
||||
CFLAGS_STLIB = $(SANITIZER_CFLAGS) @CFLAGS_STLIB@
|
||||
CFLAGS = @CFLAGS@
|
||||
CFLAGS_SHLIB = @CFLAGS_SHLIB@
|
||||
CFLAGS_STLIB = @CFLAGS_STLIB@
|
||||
CPPFLAGS = @INCLUDES@
|
||||
ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS) $(CFLAGS_WARN) @DEFS@ $(LOCAL_CFLAGS)
|
||||
ALL_CFLAGS_SHLIB = $(CPPFLAGS) $(CFLAGS_SHLIB) $(CFLAGS_WARN) @DEFS@ $(LOCAL_CFLAGS)
|
||||
ALL_CFLAGS_STLIB = $(CPPFLAGS) $(CFLAGS_STLIB) $(CFLAGS_WARN) @DEFS@ $(LOCAL_CFLAGS)
|
||||
ALL_CFLAGS = $(CPPFLAGS) $(SANITIZER_CFLAGS) $(CFLAGS) $(CFLAGS_WARN) @DEFS@ $(LOCAL_CFLAGS)
|
||||
ALL_CFLAGS_SHLIB = $(CPPFLAGS) $(SANITIZER_CFLAGS) $(CFLAGS_SHLIB) $(CFLAGS_WARN) @DEFS@ $(LOCAL_CFLAGS)
|
||||
ALL_CFLAGS_STLIB = $(CPPFLAGS) $(SANITIZER_CFLAGS) $(CFLAGS_STLIB) $(CFLAGS_WARN) @DEFS@ $(LOCAL_CFLAGS)
|
||||
LDFLAGS = $(SANITIZER_LDFLAGS) @LDFLAGS@
|
||||
LDFLAGS_SHLIB = $(SANITIZER_LDFLAGS) @LDFLAGS_SHLIB@
|
||||
ALL_LDFLAGS = $(LDFLAGS) @LDFLAG_DYNAMIC@
|
||||
|
Loading…
Reference in New Issue
Block a user