void-packages/srcpkgs/lua51/patches/lua-5.1-cflags.diff

12 lines
259 B
Diff

--- src/Makefile 2006-02-16 16:45:09.000000000 +0100
+++ 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