summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/lua/lua-5.1-cflags.diff
blob: db658aecad8f88c59fd419e25fabe217b625e073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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