summaryrefslogtreecommitdiffstats
path: root/abs/extra/lua51/lua-5.1-cflags.diff
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/lua51/lua-5.1-cflags.diff')
-rw-r--r--abs/extra/lua51/lua-5.1-cflags.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/extra/lua51/lua-5.1-cflags.diff b/abs/extra/lua51/lua-5.1-cflags.diff
new file mode 100644
index 0000000..db658ae
--- /dev/null
+++ b/abs/extra/lua51/lua-5.1-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