mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
OP-1579 Add LDFLAGS to sanitize: added comments
This commit is contained in:
parent
b460f9ac91
commit
71453b2a04
8
Makefile
8
Makefile
@ -65,9 +65,13 @@ $(if $(filter-out undefined,$(origin $(1))),
|
||||
)
|
||||
endef
|
||||
|
||||
# These specific variables can influence gcc in unexpected (and undesirable) ways
|
||||
# These specific variables can influence compilation in unexpected (and undesirable) ways
|
||||
# gcc flags
|
||||
SANITIZE_GCC_VARS := TMPDIR GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH
|
||||
SANITIZE_GCC_VARS += CFLAGS CPATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH OBJC_INCLUDE_PATH DEPENDENCIES_OUTPUT
|
||||
# preprocessor flags
|
||||
SANITIZE_GCC_VARS += CPATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH OBJC_INCLUDE_PATH DEPENDENCIES_OUTPUT
|
||||
# make flags
|
||||
SANITIZE_GCC_VARS += CFLAGS
|
||||
$(foreach var, $(SANITIZE_GCC_VARS), $(eval $(call SANITIZE_VAR,$(var),disallowed)))
|
||||
|
||||
# These specific variables used to be valid but now they make no sense
|
||||
|
Loading…
x
Reference in New Issue
Block a user