Introduce variables GLOBAL_CFLAGS and GLOBAL_CXXFLAGS
There are flags that must be set, so they shouldn't be overriden by the user's CFLAGS or CXXFLAGS.
This commit is contained in:
parent
6b5f89f2cf
commit
ea2f7df5fa
2 changed files with 4 additions and 3 deletions
|
|
@ -10,6 +10,7 @@ SUBS = \
|
|||
src/nix-env/Makefile.new \
|
||||
src/nix-daemon/Makefile.new
|
||||
|
||||
GLOBAL_CXXFLAGS = -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr
|
||||
|
||||
include Makefile.lib
|
||||
|
||||
CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr -O0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue