luajit: refactor without dont-strip.patch
authorFrancois Perrad <fperrad@gmail.com>
Sat, 1 Mar 2014 17:23:02 +0000 (18:23 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 3 Mar 2014 22:09:26 +0000 (23:09 +0100)
the variable TARGET_STRIP does the job

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/luajit/luajit-03-dont-strip.patch [deleted file]
package/luajit/luajit.mk

diff --git a/package/luajit/luajit-03-dont-strip.patch b/package/luajit/luajit-03-dont-strip.patch
deleted file mode 100644 (file)
index 66bdadf..0000000
+++ /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 <thomas.petazzoni@free-electrons.com>
-
-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"
- ##############################################################################
index 4122d0a2db989aabf4be53c0a49dacea1f39bb23..72720d89ca2a9233e3c63e49c39cf77bb8888b28 100644 (file)
@@ -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)" \