diff options
author | Francois Perrad <fperrad@gmail.com> | 2014-03-01 18:23:02 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-03-03 23:09:26 +0100 |
commit | ca3761fbff4bbf3d44b822c733bc8571b69ccafd (patch) | |
tree | 72bd10e0b1fcfb4ac0e1e5fdd188373f107d1250 /package | |
parent | 4ad1ea59a59f951fad072dcb19429e6f468abf05 (diff) |
luajit: refactor without dont-strip.patch
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>
Diffstat (limited to 'package')
-rw-r--r-- | package/luajit/luajit-03-dont-strip.patch | 23 | ||||
-rw-r--r-- | package/luajit/luajit.mk | 2 |
2 files changed, 1 insertions, 24 deletions
diff --git a/package/luajit/luajit-03-dont-strip.patch b/package/luajit/luajit-03-dont-strip.patch deleted file mode 100644 index 66bdadf13..000000000 --- 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 <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" - - ############################################################################## diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk index 4122d0a2d..72720d89c 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)" \ |