diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-22T19·38+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-22T19·38+0100 |
commit | ea2f7df5fac0b319b82a4a33ba8b992737fa8c56 (patch) | |
tree | 6ee87f0d521ebea06c01289265c79df44d9ccb1e /Makefile.new | |
parent | 6b5f89f2cf954cae1623a6cd3a8f7eb78e19e85b (diff) |
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.
Diffstat (limited to 'Makefile.new')
-rw-r--r-- | Makefile.new | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.new b/Makefile.new index af2c4cec3c4d..1ae88d42fefc 100644 --- a/Makefile.new +++ b/Makefile.new @@ -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 |