forked from Lainports/freebsd-ports
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
--- src/Makefile.orig 2012-10-16 22:30:00.000000000 +0400
|
|
+++ src/Makefile 2012-10-18 22:06:48.000000000 +0400
|
|
@@ -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
|
|
@@ -34,7 +34,7 @@
|
|
# to slow down the C part by not omitting it. Debugging, tracebacks and
|
|
# unwinding are not affected -- the assembler part has frame unwind
|
|
# information and GCC emits it where needed (x64) or with -g (see CCDEBUG).
|
|
-CCOPT= -O2 -fomit-frame-pointer
|
|
+#CCOPT= -O2 -fomit-frame-pointer
|
|
# Use this if you want to generate a smaller binary (but it's slower):
|
|
#CCOPT= -Os -fomit-frame-pointer
|
|
# Note: it's no longer recommended to use -O3 with GCC 4.x.
|
|
@@ -48,7 +48,8 @@
|
|
# x86/x64 only: For GCC 4.2 or higher and if you don't intend to distribute
|
|
# the binaries to a different machine you could also use: -march=native
|
|
#
|
|
-CCOPT_x86= -march=i686
|
|
+#CCOPT_x86= -march=i686
|
|
+CCOPT_x86=
|
|
CCOPT_x64=
|
|
CCOPT_arm=
|
|
CCOPT_ppc=
|