tolua/tolua-5.1b-fix_cppflags.patch

11 lines
343 B
Diff
Raw Normal View History

--- tolua-5.1b/config 2007-08-09 01:05:41.000000000 +0200
+++ tolua-5.1b/config.cflags 2007-10-24 11:06:53.000000000 +0200
@@ -30,5 +30,5 @@
INC= -I$(TOLUA)/include -I$(LUAINC)
LIB= -L$(TOLUA)/lib -L$(LUALIB)
-CFLAGS= -O2 $(WARN) $(INC)
-CPPFLAGS= -O2 $(WARN) $(INC)
+CFLAGS= -O2 $(RPM_OPT_FLAGS) $(INC)
+CPPFLAGS= -O2 $(RPM_OPT_FLAGS)