diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-27 15:00:28 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-27 15:00:28 +0000 |
commit | 387699fe7ff3fafca879843327843845fd8229d0 (patch) | |
tree | 54b0bc60456ee8868e15649319dcb97f4751e236 /mk | |
parent | a2af25c55a9d8a0bc7333b5e3e3597353a2bd65a (diff) | |
parent | ac89462b7412f4d72f452552dffe36202bd528e9 (diff) |
Merge branch 'ca-derivation-data-types' of github.com:obsidiansystems/nix into misc-ca
Diffstat (limited to 'mk')
-rw-r--r-- | mk/precompiled-headers.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/precompiled-headers.mk b/mk/precompiled-headers.mk index 1c0452dc2..500c99e4a 100644 --- a/mk/precompiled-headers.mk +++ b/mk/precompiled-headers.mk @@ -21,13 +21,13 @@ clean-files += $(GCH) $(PCH) ifeq ($(PRECOMPILE_HEADERS), 1) - ifeq ($(CXX), g++) + ifeq ($(findstring g++,$(CXX)), g++) GLOBAL_CXXFLAGS_PCH += -include $(buildprefix)precompiled-headers.h -Winvalid-pch GLOBAL_ORDER_AFTER += $(GCH) - else ifeq ($(CXX), clang++) + else ifeq ($(findstring clang++,$(CXX)), clang++) GLOBAL_CXXFLAGS_PCH += -include-pch $(PCH) -Winvalid-pch |