Commit 6dee6928 authored by Daniel Kahn Gillmor's avatar Daniel Kahn Gillmor

Avoid clobbering CXX flags when compiling lua-aho-corasick

Without this patch, any externally-set CXXFLAGS will be discarded when
compiling lua-aho-corasick.
parent 01490e5d
......@@ -7,7 +7,7 @@ $(call make_lua_module,policy)
policy-clean:
$(MAKE) -C $(AHOCORASICK_DIR) clean
$(AHOCORASICK_DIR)ahocorasick$(LIBEXT): $(AHOCORASICK_DIR)Makefile
$(MAKE) -C $(AHOCORASICK_DIR) ahocorasick$(LIBEXT) CXXFLAGS="$(lua_CFLAGS)"
$(MAKE) -C $(AHOCORASICK_DIR) ahocorasick$(LIBEXT) CXXFLAGS="$(lua_CFLAGS) $(CXXFLAGS)"
policy-install: ahocorasick-install
ahocorasick-install: $(AHOCORASICK_DIR)ahocorasick$(LIBEXT) $(DESTDIR)$(MODULEDIR)
......
  • This was obsoleted by knot/knot-resolver!771 (merged).

  • Oh, I was typing faster than I was able to think :-) Please verify it works for you and if so please delete this branch so we know there is nothing more to do about it. Thank you!

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment