blob: 3ec6d4f3f19b2270fcbc075f211c6c278c122603 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- lib/luajit/src/Makefile.orig 2014-06-16 05:17:49.000000000 +0800
+++ lib/luajit/src/Makefile 2014-07-07 01:09:35.726810000 +0800
@@ -25,7 +25,7 @@
# with "make clean", followed by "make" if you change any options.
#
# LuaJIT builds as a native 32 or 64 bit binary by default.
-CC= gcc
+#CC= gcc
#
# Use this if you want to force a 32 bit build on a 64 bit multilib OS.
#CC= gcc -m32
@@ -313,7 +313,7 @@
TARGET_DYNXLDOPTS=
TARGET_XSHLDFLAGS+= -install_name $(TARGET_DYLIBPATH) -compatibility_version $(MAJVER).$(MINVER) -current_version $(MAJVER).$(MINVER).$(RELVER)
else
- ifneq (,$(findstring stack-protector,$(shell $(TARGET_CC) -dumpspecs)))
+ ifneq (,$(findstring stack-protector,$(shell $(TARGET_CC))))
TARGET_XCFLAGS+= -fno-stack-protector
endif
ifneq (SunOS,$(TARGET_SYS))
|