Preprocessing does not need all the flags

This commit is contained in:
Benedikt Tutzer 2019-04-03 15:13:58 +02:00
parent 827a96d3a3
commit c5a8dceff8
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ libyosys.so: $(filter-out kernel/driver.o,$(OBJS))
%.pyh: %.h
$(Q) mkdir -p $(dir $@)
$(P) cat $< | grep -E -v "#[ ]*(include|error)" | $(LD) -x c++ -o $@ -E -P $(CPPFLAGS) $(CXXFLAGS) -Qunused-arguments -
$(P) cat $< | grep -E -v "#[ ]*(include|error)" | $(LD) -x c++ -o $@ -E -P -Qunused-arguments -
$(PY_WRAPPER_FILE).cc: $(PY_GEN_SCRIPT).py $(PY_WRAP_INCLUDES)
$(Q) mkdir -p $(dir $@)