luajit: permit building on macos host 9048/head
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Tue, 21 May 2019 11:55:00 +0000 (12:55 +0100)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Tue, 21 May 2019 13:59:31 +0000 (14:59 +0100)
luajit didn't understand completely that it was building in a cross
compiled environment for Linux target.  This would cause issues when
building under openwrt on macos.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
lang/luajit/Makefile

index e1f2a7477f85db80f646911a7092a2bbc8cf0949..72073dd7ad001464438a5547b58ed41dc69355fe 100644 (file)
@@ -43,12 +43,14 @@ define Build/Compile
                CROSS="$(TARGET_CROSS)" \
                DPREFIX=$(PKG_INSTALL_DIR)/usr \
                PREFIX=/usr \
+               TARGET_SYS=Linux \
                TARGET_CFLAGS="$(TARGET_CFLAGS)"
        rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DPREFIX=$(PKG_INSTALL_DIR)/usr \
                PREFIX=/usr \
+               TARGET_SYS=Linux \
                install
 endef