summaryrefslogtreecommitdiff
path: root/lang/luajit-openresty/files/patch-src_Makefile
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2019-09-09 08:57:54 +0000
committerMartin Matuska <mm@FreeBSD.org>2019-09-09 08:57:54 +0000
commit1c4f1a9720f6519f01a04b68ce158686b48df2bc (patch)
treecc5db0ea9b2798ed6110770b46934bd72b95b5d1 /lang/luajit-openresty/files/patch-src_Makefile
parent- Update to 7.4.1 (diff)
OpenResty's Branch of LuaJIT 2
WWW: https://github.com/openresty/luajit2
Notes
Notes: svn path=/head/; revision=511608
Diffstat (limited to 'lang/luajit-openresty/files/patch-src_Makefile')
-rw-r--r--lang/luajit-openresty/files/patch-src_Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/luajit-openresty/files/patch-src_Makefile b/lang/luajit-openresty/files/patch-src_Makefile
new file mode 100644
index 000000000000..88511431f17a
--- /dev/null
+++ b/lang/luajit-openresty/files/patch-src_Makefile
@@ -0,0 +1,29 @@
+--- src/Makefile.orig 2019-06-26 21:12:49 UTC
++++ src/Makefile
+@@ -24,7 +24,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)
+@@ -36,7 +36,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.
+@@ -47,7 +47,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=