From 9f4c854353dfa23f5ea8cd1dc3fd2695924da955 Mon Sep 17 00:00:00 2001 From: Derek Bankieris Date: Wed, 19 Oct 2016 14:43:32 -0500 Subject: [PATCH] Pass SWIG_FLAGS when calling SWIG in trickify.mk #326 --- share/trick/makefiles/trickify.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/trick/makefiles/trickify.mk b/share/trick/makefiles/trickify.mk index 34e0033f..a1e7ed64 100644 --- a/share/trick/makefiles/trickify.mk +++ b/share/trick/makefiles/trickify.mk @@ -160,7 +160,7 @@ $(dir $(TRICKIFY_LIB_NAME)) $(TRICKIFY_PYTHON_DIR): py_%.cpp: %.i | $(TRICKIFY_PYTHON_DIR) $(info $(call COLOR,SWIGing) $<) - @$(SWIG) $(TRICK_INCLUDE) $(TRICK_DEFINES) $(TRICK_VERSIONS) -c++ -python -includeall -ignoremissing -w201,362,389,451 -outdir $(TRICKIFY_PYTHON_DIR) -o $@ $< + @$(SWIG) $(TRICK_INCLUDE) $(TRICK_DEFINES) $(TRICK_VERSIONS) $(SWIG_FLAGS) -c++ -python -includeall -ignoremissing -w201,303,320,362,389,401,451 -outdir $(TRICKIFY_PYTHON_DIR) -o $@ $< %.o: %.cpp $(info $(call COLOR,Compiling) $<)