about summary refs log tree commit diff
path: root/Makefile.new
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.new')
-rw-r--r--Makefile.new4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.new b/Makefile.new
index 566f1f7be5dd..8911d6d72c40 100644
--- a/Makefile.new
+++ b/Makefile.new
@@ -12,9 +12,7 @@ include src/nix-instantiate/Makefile.new
 include src/nix-env/Makefile.new
 include src/nix-daemon/Makefile.new
 
-CXXFLAGS = -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr
-
-CFLAGS =
+CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr
 
 $(foreach lib, $(LIBS), $(eval $(call LIBS_template,$(lib))))
 $(foreach prog, $(PROGRAMS), $(eval $(call PROGRAMS_template,$(prog))))