Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/actions/make/test_make_pch.lua')
-rw-r--r--tests/actions/make/test_make_pch.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/actions/make/test_make_pch.lua b/tests/actions/make/test_make_pch.lua
index ee48a1b..c471e09 100644
--- a/tests/actions/make/test_make_pch.lua
+++ b/tests/actions/make/test_make_pch.lua
@@ -51,7 +51,7 @@
test.capture [[
PCH = include/myproject.h
GCH = $(OBJDIR)/myproject.h.gch
- CPPFLAGS += -I$(OBJDIR) -include $(OBJDIR)/myproject.h
+ ALL_CPPFLAGS += -I$(OBJDIR) -include $(OBJDIR)/myproject.h
]]
end
@@ -73,7 +73,7 @@ ifeq (posix,$(SHELLTYPE))
else
$(SILENT) xcopy /D /Y /Q "$(subst /,\,$<)" "$(subst /,\,$(OBJDIR))" 1>nul
endif
- $(SILENT) $(CXX) $(CXXFLAGS) -o "$@" -MF $(@:%.gch=%.d) -c "$<"
+ $(SILENT) $(CXX) $(ALL_CXXFLAGS) -o "$@" -MF $(@:%.gch=%.d) -c "$<"
endif
]]
end
@@ -92,7 +92,7 @@ ifeq (posix,$(SHELLTYPE))
else
$(SILENT) xcopy /D /Y /Q "$(subst /,\,$<)" "$(subst /,\,$(OBJDIR))" 1>nul
endif
- $(SILENT) $(CC) $(CFLAGS) -o "$@" -MF $(@:%.gch=%.d) -c "$<"
+ $(SILENT) $(CC) $(ALL_CFLAGS) -o "$@" -MF $(@:%.gch=%.d) -c "$<"
endif
]]
end