summaryrefslogtreecommitdiffstats
path: root/base/lua/lua-5.1.4-cflags.diff
diff options
context:
space:
mode:
Diffstat (limited to 'base/lua/lua-5.1.4-cflags.diff')
-rw-r--r--base/lua/lua-5.1.4-cflags.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/base/lua/lua-5.1.4-cflags.diff b/base/lua/lua-5.1.4-cflags.diff
new file mode 100644
index 000000000..db658aeca
--- /dev/null
+++ b/base/lua/lua-5.1.4-cflags.diff
@@ -0,0 +1,13 @@
+diff -Naur lua-5.1.orig/src/Makefile lua-5.1/src/Makefile
+--- lua-5.1.orig/src/Makefile 2006-02-16 16:45:09.000000000 +0100
++++ lua-5.1/src/Makefile 2006-03-01 14:55:29.000000000 +0100
+@@ -8,7 +8,8 @@
+ PLAT= none
+
+ CC= gcc
+-CFLAGS= -O2 -Wall $(MYCFLAGS)
++CFLAGS ?= -O2 -Wall
++CFLAGS += $(MYCFLAGS)
+ AR= ar rcu
+ RANLIB= ranlib
+ RM= rm -f