[PATCH] sawfish-pager makefile CFLAGS



Attached patch allows build script (rpmbuild in this case) to add extra
CFLAGS options. This is needed to add correct compiler options for
debuginfo rpm.


diff -ur sawfish-pager-0.90.1.orig/Makefile.in sawfish-pager-0.90.1/Makefile.in
--- sawfish-pager-0.90.1.orig/Makefile.in	2011-03-25 18:03:44.000000000 +0200
+++ sawfish-pager-0.90.1/Makefile.in	2011-04-15 19:44:01.026453418 +0300
@@ -23,7 +23,7 @@
 # along with sawfish-pager; see the file COPYING.   If not, write to
 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
-CFLAGS = @GTK_CFLAGS@ @IMAGE_LOADER_CFLAGS@ #-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+override CFLAGS += @GTK_CFLAGS@ @IMAGE_LOADER_CFLAGS@ #-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
 LDFLAGS = -Wl,-rpath @SAWFISH_CLIENT_LIB_DIR@ @SAWFISH_CLIENT_LIB_DIR@/client.so @GTK_LIBS@ @SAWFISH_LIBS@ @IMAGE_LOADER_LIBS@
 
 all: sawfishpager pager.jlc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]