Skip to contentSkip to conversation

package/luajit: drop static build handling

PATCH New Baruch Siach 2 participants 2 messages Nov 12, 2020 – Nov 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/luajit: drop static build handling

Static build of luajit is disabled since commit b2e8f28efac ("package/luajit: disable for static build"). Remove the related BUILDMODE handling as well.

Cc Francois Perrad <[email protected]>

---
v2: fix commit title

---
 package/luajit/luajit.mk | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
package/luajit/luajit.mk +1 -7
index 68e6af4f5e7c..defa21dd3ffd 100644
@@ -17,12 +17,6 @@ ifeq ($(BR2_PACKAGE_LUAJIT_COMPAT52),y)
 LUAJIT_XCFLAGS += -DLUAJIT_ENABLE_LUA52COMPAT
 endif
 
-ifeq ($(BR2_STATIC_LIBS),y)
-LUAJIT_BUILDMODE = static
-else
-LUAJIT_BUILDMODE = dynamic
-endif
-
 # The luajit build procedure requires the host compiler to have the
 # same bitness as the target compiler. Therefore, on a x86 build
 # machine, we can't build luajit for x86_64, which is checked in
@@ -50,7 +44,7 @@ define LUAJIT_BUILD_CMDS
 		HOST_CC="$(LUAJIT_HOST_CC)" \
 		HOST_CFLAGS="$(HOST_CFLAGS)" \
 		HOST_LDFLAGS="$(HOST_LDFLAGS)" \
-		BUILDMODE=$(LUAJIT_BUILDMODE) \
+		BUILDMODE=dynamic \
 		XCFLAGS=$(LUAJIT_XCFLAGS) \
 		-C $(@D) amalg
 endef
Signature · 1 line
2.28.0
#1 lore raw

PATCH v2 1/1 package/luajit: drop static build handling

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Static build of luajit is disabled since commit b2e8f28efac ("package/luajit: disable for static build"). Remove the related BUILDMODE handling as well.

Cc Francois Perrad <[email protected]>

---
v2: fix commit title

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard