050-honor-cflags.patch 402 B

1234567891011
  1. --- a/src/Makefile
  2. +++ b/src/Makefile
  3. @@ -56,7 +56,7 @@ $(LUA_A): $(CORE_O) $(LIB_O)
  4. $(RANLIB) $@
  5. $(LUA_SO): $(CORE_O) $(LIB_O)
  6. - $(CC) -o $@.$(PKG_VERSION) -Wl,-Bsymbolic-functions -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
  7. + $(CC) -o $@.$(PKG_VERSION) -Wl,-Bsymbolic-functions $(MYLDFLAGS) -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
  8. ln -fs $@.$(PKG_VERSION) $@
  9. $(LUA_T): $(LUA_O) $(LUA_SO)