mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
*.mk: Prefix non-env C/C++ flags with BUILD_
Prefix all CFLAGS / CPPFLAGS / LDFLAGS with BUILD_ to distinguish them from flags read from the environment (and getting longer and longer with +=).
This commit is contained in:
parent
2b0a7b84bd
commit
634992f447
6 changed files with 94 additions and 94 deletions
|
|
@ -3,7 +3,7 @@ moc_%.cpp: %.h
|
|||
$(MOC) -o $@ $<
|
||||
else
|
||||
moc_%.cpp: %.h
|
||||
$(MOC) $(filter -D% -I%,$(strip $(CPPFLAGS))) -o $@ $<
|
||||
$(MOC) $(filter -D% -I%,$(strip $(BUILD_CPPFLAGS))) -o $@ $<
|
||||
endif
|
||||
|
||||
rcc_%.cpp: %.qrc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue