mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #2387 from btut/fix/pythonWrappersCXXFlags
Use CXXFLAGS to enable pyosys specific code before generating wrappers
This commit is contained in:
commit
bddd56d0c6
2
Makefile
2
Makefile
|
@ -686,7 +686,7 @@ endif
|
||||||
|
|
||||||
%.pyh: %.h
|
%.pyh: %.h
|
||||||
$(Q) mkdir -p $(dir $@)
|
$(Q) mkdir -p $(dir $@)
|
||||||
$(P) cat $< | grep -E -v "#[ ]*(include|error)" | $(LD) -x c++ -o $@ -E -P -
|
$(P) cat $< | grep -E -v "#[ ]*(include|error)" | $(LD) $(CXXFLAGS) -x c++ -o $@ -E -P -
|
||||||
|
|
||||||
ifeq ($(ENABLE_PYOSYS),1)
|
ifeq ($(ENABLE_PYOSYS),1)
|
||||||
$(PY_WRAPPER_FILE).cc: misc/$(PY_GEN_SCRIPT).py $(PY_WRAP_INCLUDES)
|
$(PY_WRAPPER_FILE).cc: misc/$(PY_GEN_SCRIPT).py $(PY_WRAP_INCLUDES)
|
||||||
|
|
Loading…
Reference in New Issue