From: Francois Perrad Date: Sat, 1 Mar 2014 17:23:02 +0000 (+0100) Subject: luajit: refactor without dont-strip.patch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca3761fbff4bbf3d44b822c733bc8571b69ccafd;p=buildroot.git luajit: refactor without dont-strip.patch the variable TARGET_STRIP does the job Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- diff --git a/package/luajit/luajit-03-dont-strip.patch b/package/luajit/luajit-03-dont-strip.patch deleted file mode 100644 index 66bdadf139..0000000000 --- a/package/luajit/luajit-03-dont-strip.patch +++ /dev/null @@ -1,23 +0,0 @@ -Don't strip the library and binary - -This allows Buildroot to do it if needed, but only if needed. - -Signed-off-by: Thomas Petazzoni - -Index: b/src/Makefile -=================================================================== ---- a/src/Makefile -+++ b/src/Makefile -@@ -665,12 +665,10 @@ - $(LUAJIT_SO): $(LJVMCORE_O) - $(E) "DYNLINK $@" - $(Q)$(TARGET_LD) $(TARGET_ASHLDFLAGS) -o $@ $(LJVMCORE_DYNO) $(TARGET_ALIBS) -- $(Q)$(TARGET_STRIP) $@ - - $(LUAJIT_T): $(TARGET_O) $(LUAJIT_O) $(TARGET_DEP) - $(E) "LINK $@" - $(Q)$(TARGET_LD) $(TARGET_ALDFLAGS) -o $@ $(LUAJIT_O) -lluajit -L. $(TARGET_ALIBS) -- $(Q)$(TARGET_STRIP) $@ - $(E) "OK Successfully built LuaJIT" - - ############################################################################## diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk index 4122d0a2db..72720d89ca 100644 --- a/package/luajit/luajit.mk +++ b/package/luajit/luajit.mk @@ -37,7 +37,7 @@ define LUAJIT_BUILD_CMDS DYNAMIC_CC="$(TARGET_CC) -fPIC" \ TARGET_LD="$(TARGET_CC)" \ TARGET_AR="$(TARGET_AR) rcus" \ - TARGET_STRIP="$(TARGET_STRIP)" \ + TARGET_STRIP=true \ TARGET_CFLAGS="$(TARGET_CFLAGS)" \ TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \ HOST_CC="$(LUAJIT_HOST_CC)" \