ports/lang/luajit-devel/files/patch-src_Makefile
Sergey A. Osokin 3f187b5947 lang/luajit-devel: update to the recent snapshot
Regenerate patches.
Pet portlint(1).
2024-11-08 16:39:53 -05:00

30 lines
1.2 KiB
Plaintext

--- src/Makefile.orig 2024-10-02 11:59:42 UTC
+++ src/Makefile
@@ -23,7 +23,7 @@ NODOTABIVER= 51
# removing the '#' in front of them. Make sure you force a full recompile
# with "make clean", followed by "make" if you change any options.
#
-DEFAULT_CC = gcc
+DEFAULT_CC = cc
#
# LuaJIT builds as a native 32 or 64 bit binary by default.
CC= $(DEFAULT_CC)
@@ -35,7 +35,7 @@ CC= $(DEFAULT_CC)
# 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.
@@ -46,7 +46,7 @@ CCOPT= -O2 -fomit-frame-pointer
# 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 -msse -msse2 -mfpmath=sse
+#CCOPT_x86= -march=i686 -msse -msse2 -mfpmath=sse
CCOPT_x64=
CCOPT_arm=
CCOPT_arm64=