mirror of
https://github.com/L3MON4D3/LuaSnip
synced 2024-09-16 21:54:03 +02:00
makefile: default jsregexp-CC to system-CC.
this is for systems where gcc may not be available/called something else. We assume that $CC is set to something valid, or that cc is available (since that's the fallback for $CC in gnu-make if $CC is not set).
This commit is contained in:
parent
1d67ba34e9
commit
03c8e67eb7
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -46,8 +46,8 @@ JSREGEXP005_PATH=deps/jsregexp005
|
|||
jsregexp:
|
||||
git submodule init
|
||||
git submodule update
|
||||
$(MAKE) "INCLUDE_DIR=-I'$(shell pwd)/deps/lua51_include/'" LDLIBS="${LUA_LDLIBS}" -C "${JSREGEXP_PATH}"
|
||||
$(MAKE) "INCLUDE_DIR=-I'$(shell pwd)/deps/lua51_include/'" LDLIBS="${LUA_LDLIBS}" -C "${JSREGEXP005_PATH}"
|
||||
$(MAKE) "CC=$(CC)" "INCLUDE_DIR=-I'$(shell pwd)/deps/lua51_include/'" LDLIBS="${LUA_LDLIBS}" -C "${JSREGEXP_PATH}"
|
||||
$(MAKE) "CC=$(CC)" "INCLUDE_DIR=-I'$(shell pwd)/deps/lua51_include/'" LDLIBS="${LUA_LDLIBS}" -C "${JSREGEXP005_PATH}"
|
||||
|
||||
install_jsregexp: jsregexp
|
||||
# remove old binary.
|
||||
|
|
Loading…
Reference in a new issue