2021-07-05 15:14:30 +02:00
|
|
|
--- LuaJIT-old/src/Makefile 2021-03-11 01:19:04.000000000 +0600
|
|
|
|
+++ LuaJIT-new/src/Makefile 2021-07-05 09:46:42.681252928 +0600
|
2019-11-10 17:31:06 +01:00
|
|
|
@@ -27,7 +27,7 @@
|
|
|
|
DEFAULT_CC = gcc
|
|
|
|
#
|
|
|
|
# LuaJIT builds as a native 32 or 64 bit binary by default.
|
|
|
|
-CC= $(DEFAULT_CC)
|
|
|
|
+CC?= $(DEFAULT_CC)
|
|
|
|
#
|
|
|
|
# Use this if you want to force a 32 bit build on a 64 bit multilib OS.
|
|
|
|
#CC= $(DEFAULT_CC) -m32
|
2021-07-05 15:14:30 +02:00
|
|
|
@@ -192,7 +192,7 @@
|
2019-11-10 17:31:06 +01:00
|
|
|
CCOPTIONS= $(CCDEBUG) $(ASOPTIONS)
|
|
|
|
LDOPTIONS= $(CCDEBUG) $(LDFLAGS)
|
|
|
|
|
|
|
|
-HOST_CC= $(CC)
|
|
|
|
+HOST_CC?= $(CC)
|
2021-07-05 15:14:30 +02:00
|
|
|
HOST_RM?= rm -f
|
2019-11-10 17:31:06 +01:00
|
|
|
# If left blank, minilua is built and used. You can supply an installed
|
|
|
|
# copy of (plain) Lua 5.1 or 5.2, plus Lua BitOp. E.g. with: HOST_LUA=lua
|
2021-07-05 15:14:30 +02:00
|
|
|
@@ -205,17 +205,17 @@
|
2019-11-10 17:31:06 +01:00
|
|
|
HOST_ALDFLAGS= $(LDOPTIONS) $(HOST_XLDFLAGS) $(HOST_LDFLAGS)
|
|
|
|
HOST_ALIBS= $(HOST_XLIBS) $(LIBS) $(HOST_LIBS)
|
|
|
|
|
|
|
|
-STATIC_CC = $(CROSS)$(CC)
|
|
|
|
-DYNAMIC_CC = $(CROSS)$(CC) -fPIC
|
|
|
|
+STATIC_CC = $(CC)
|
|
|
|
+DYNAMIC_CC = $(CC) -fPIC
|
|
|
|
TARGET_CC= $(STATIC_CC)
|
|
|
|
TARGET_STCC= $(STATIC_CC)
|
|
|
|
TARGET_DYNCC= $(DYNAMIC_CC)
|
|
|
|
-TARGET_LD= $(CROSS)$(CC)
|
|
|
|
-TARGET_AR= $(CROSS)ar rcus 2>/dev/null
|
|
|
|
-TARGET_STRIP= $(CROSS)strip
|
|
|
|
+TARGET_LD= $(CC)
|
|
|
|
+TARGET_AR= $(AR) rcus 2>/dev/null
|
|
|
|
+TARGET_STRIP= $(STRIP)
|
|
|
|
|
|
|
|
TARGET_LIBPATH= $(or $(PREFIX),/usr/local)/$(or $(MULTILIB),lib)
|
|
|
|
-TARGET_SONAME= libluajit-$(ABIVER).so.$(MAJVER)
|
|
|
|
+TARGET_SONAME= libluajit-$(ABIVER).so
|
|
|
|
TARGET_DYLIBNAME= libluajit-$(ABIVER).$(MAJVER).dylib
|
|
|
|
TARGET_DYLIBPATH= $(TARGET_LIBPATH)/$(TARGET_DYLIBNAME)
|
|
|
|
TARGET_DLLNAME= lua$(NODOTABIVER).dll
|
2021-07-05 15:14:30 +02:00
|
|
|
@@ -589,7 +589,7 @@
|
2019-11-10 17:31:06 +01:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
-Q= @
|
|
|
|
+Q=
|
|
|
|
E= @echo
|
|
|
|
#Q=
|
|
|
|
#E= @:
|