trainerproc: use -traditional-cpp to preserve Unicode characters (#4969)
This commit is contained in:
parent
d410f56a8c
commit
9c1a85ef0f
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -346,7 +346,7 @@ sound/%.bin: sound/%.aif ; $(AIF) $< $@
|
|||
|
||||
COMPETITIVE_PARTY_SYNTAX := $(shell PATH="$(PATH)"; echo 'COMPETITIVE_PARTY_SYNTAX' | $(CPP) $(CPPFLAGS) -imacros include/global.h | tail -n1)
|
||||
ifeq ($(COMPETITIVE_PARTY_SYNTAX),1)
|
||||
%.h: %.party tools ; $(CPP) $(CPPFLAGS) - < $< | sed '/#[^p]/d' | $(TRAINERPROC) -o $@ -i $< -
|
||||
%.h: %.party tools ; $(CPP) $(CPPFLAGS) -traditional-cpp - < $< | sed '/#[^p]/d' | $(TRAINERPROC) -o $@ -i $< -
|
||||
endif
|
||||
|
||||
ifeq ($(MODERN),0)
|
||||
|
|
Loading…
Reference in a new issue