diff options
author | kris <kris@FreeBSD.org> | 2001-04-30 08:05:28 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-04-30 08:05:28 +0800 |
commit | fc7170f61e3d82659e8adcf80a61ca1f0fb27f0a (patch) | |
tree | 830bdb3967137ff650d949704a9b0b54ebd3ab78 /lang/lua50 | |
parent | ab4f661aa5c4feacd5299f7ab1ebec4d7876c35c (diff) | |
download | freebsd-ports-gnome-fc7170f61e3d82659e8adcf80a61ca1f0fb27f0a.tar.gz freebsd-ports-gnome-fc7170f61e3d82659e8adcf80a61ca1f0fb27f0a.tar.zst freebsd-ports-gnome-fc7170f61e3d82659e8adcf80a61ca1f0fb27f0a.zip |
Don't hard-code -O2; inherit default CC and CFLAGS from <sys.mk>
Diffstat (limited to 'lang/lua50')
-rw-r--r-- | lang/lua50/files/patch-aa | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/lua50/files/patch-aa b/lang/lua50/files/patch-aa index 5d05dcbac271..44a4a2a5d1bc 100644 --- a/lang/lua50/files/patch-aa +++ b/lang/lua50/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 |