mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix MinGW make clean.
Reported by Shmuel Zeigerman.
This commit is contained in:
parent
08272de59e
commit
c43b6a9137
@ -158,7 +158,6 @@ XCFLAGS=
|
|||||||
|
|
||||||
ifeq (Windows,$(findstring Windows,$(OS))$(MSYSTEM)$(TERM))
|
ifeq (Windows,$(findstring Windows,$(OS))$(MSYSTEM)$(TERM))
|
||||||
HOST_SYS= Windows
|
HOST_SYS= Windows
|
||||||
HOST_RM= del
|
|
||||||
else
|
else
|
||||||
HOST_SYS:= $(shell uname -s)
|
HOST_SYS:= $(shell uname -s)
|
||||||
ifneq (,$(findstring MINGW,$(HOST_SYS)))
|
ifneq (,$(findstring MINGW,$(HOST_SYS)))
|
||||||
@ -296,6 +295,7 @@ ifeq (Windows,$(TARGET_SYS))
|
|||||||
TARGET_STRIP+= --strip-unneeded
|
TARGET_STRIP+= --strip-unneeded
|
||||||
TARGET_XSHLDFLAGS= -shared
|
TARGET_XSHLDFLAGS= -shared
|
||||||
TARGET_DYNXLDOPTS=
|
TARGET_DYNXLDOPTS=
|
||||||
|
HOST_RM= del
|
||||||
else
|
else
|
||||||
TARGET_AR+= 2>/dev/null
|
TARGET_AR+= 2>/dev/null
|
||||||
ifeq (,$(shell $(TARGET_CC) -o /dev/null -c -x c /dev/null -fno-stack-protector 2>/dev/null || echo 1))
|
ifeq (,$(shell $(TARGET_CC) -o /dev/null -c -x c /dev/null -fno-stack-protector 2>/dev/null || echo 1))
|
||||||
|
Loading…
Reference in New Issue
Block a user