LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File netsurf-2.9-librosprite-0.0.2-Makefile-optflags.patch of Package netsurf (Project network:utilities)

Index: librosprite-0.0.2/Makefile
===================================================================
--- librosprite-0.0.2/Makefile.orig	2008-04-09 20:21:40.000000000 +0100
+++ librosprite-0.0.2/Makefile	2012-05-13 22:44:48.000000000 +0100
@@ -8,7 +8,7 @@ MKDIR = mkdir
 PKG_CONFIG = pkg-config
 
 ARFLAGS = -cru
-CFLAGS = -g -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
+CFLAGS = ${OPTCFLAGS} -g -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
 	-Wwrite-strings -Wstrict-prototypes \
 	-Wnested-externs -Werror -pedantic -std=c99 \
 	-Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 \