File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ $(PCH_DECOY): | $(CORE_INTDIR)/
27
27
echo " #error \" Precompiled header decoy $( notdir $( PCH_DECOY) ) used instead of $( notdir $( PCH) ) \" " > $@
28
28
29
29
$(PCH ) : $(PCH_BUILD ) $(PCH_DECOY ) $(PCH_H ) | $(CORE_INTDIR ) /
30
- $(CXX ) $(PCH_EMIT ) -o $(PCH ) $(CXXFLAGS_ALL ) -c $(PCH_BUILD )
30
+ $(CXX ) $(PCH_COMPILE ) -o $(PCH ) $(CXXFLAGS_ALL ) -c $(PCH_BUILD )
31
31
32
32
$(CORE_INTDIR ) /% .d : % .cpp $(PCH ) | $(CORE_INTDIR ) /
33
33
$(CXX ) -M -MM -MF $@ -MT $(CORE_INTDIR ) /$(basename $< ) .o $(CXXFLAGS_ALL ) -c $<
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ ifeq ($(OS),Windows_NT)
45
45
LDFLAGS_GUI ?=
46
46
LDFLAGS_NSFPLAY ?= -mwindows
47
47
LDFLAGS_DLL ?= -mdll
48
- PCH_EMIT ?= -x c++-header
48
+ PCH_COMPILE ?= -x c++-header
49
49
PCH_USE ?= -Winvalid-pch --include
50
50
PCH_USE_SUFFIX ?=
51
51
PCH_SUFFIX ?= .gch
@@ -83,7 +83,7 @@ else ifeq ($(shell uname),Darwin)
83
83
LDFLAGS_GUI ?=
84
84
LDFLAGS_NSFPLAY ?=
85
85
LDFLAGS_DLL ?= -shared
86
- PCH_EMIT ?= -x c++-header -emit-pch
86
+ PCH_COMPILE ?= -x c++-header
87
87
PCH_USE ?= --include-pch
88
88
PCH_USE_SUFFIX ?= .pch
89
89
PCH_SUFFIX ?= .gch
100
100
LDFLAGS_GUI ?=
101
101
LDFLAGS_NSFPLAY ?=
102
102
LDFLAGS_DLL ?= -shared
103
- PCH_EMIT ?= -x c++-header
103
+ PCH_COMPILE ?= -x c++-header
104
104
PCH_USE ?= -Winvalid-pch --include
105
105
PCH_USE_SUFFIX ?=
106
106
PCH_SUFFIX ?= .gch
You can’t perform that action at this time.
0 commit comments