slackbuilds_ponce/libraries/libglpng/libglpng-1.45-extra_cflags.patch
Matteo Bernardini fb9fb8a5e1 libraries/libglpng: Rearrange patches.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2016-01-17 09:40:16 +07:00

9 lines
378 B
Diff

diff -Nur libglpng-1.45.orig/Makefile libglpng-1.45/Makefile
--- libglpng-1.45.orig/Makefile 2008-03-27 19:33:50.000000000 -0500
+++ libglpng-1.45/Makefile 2009-07-03 14:53:28.900650418 -0500
@@ -1,4 +1,4 @@
-CFLAGS=-Wall -g -O3 -fPIC -I$(shell pwd)/include
+CFLAGS=-Wall -g $(EXTRA_CFLAGS) -I$(shell pwd)/include
LDFLAGS=-lpng -lGL
SHAREDLIBFLAGS=-shared
DESTDIR=/usr/local