summaryrefslogtreecommitdiff
path: root/lang/lua
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-04-30 00:05:28 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-04-30 00:05:28 +0000
commitc8f9094249eee14587067b1000314430f8382290 (patch)
tree273167165b7697e3d216789cc3340aa626e96841 /lang/lua
parentDon't hard-code -O2, inherit CC from <sys.mk> (diff)
Don't hard-code -O2; inherit default CC and CFLAGS from <sys.mk>
Notes
Notes: svn path=/head/; revision=42051
Diffstat (limited to 'lang/lua')
-rw-r--r--lang/lua/files/patch-aa8
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/lua/files/patch-aa b/lang/lua/files/patch-aa
index 5d05dcbac271..44a4a2a5d1bc 100644
--- a/lang/lua/files/patch-aa
+++ b/lang/lua/files/patch-aa
@@ -1,21 +1,19 @@
--- config Mon Nov 6 12:28:20 2000
+++ config.new Tue Jan 2 15:51:57 2001
-@@ -28,7 +28,7 @@
+@@ -28,7 +28,6 @@
# ------------------------------------------------------------------ C compiler
# You need an ANSI C compiler. gcc is a popular one.
-CC= gcc
-+CC?= gcc
WARN= -ansi -pedantic -Wall
# On IRIX, cc is a good ANSI compiler.
-@@ -93,7 +93,8 @@
+@@ -93,7 +93,7 @@
INCS= -I$(INC) $(EXTRA_INCS)
DEFS= $(COMPAT) $(NUMBER) $(OLD_ANSI) $(EXTRA_DEFS)
-CFLAGS= -O2 $(WARN) $(INCS) $(DEFS)
-+CFLAGS?= -O2
-+CFLAGS+= -O2 $(WARN) $(INCS) $(DEFS)
++CFLAGS+= $(WARN) $(INCS) $(DEFS)
V=4.0