aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/respect-dpkg-buildflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/respect-dpkg-buildflags.patch')
-rw-r--r--debian/patches/respect-dpkg-buildflags.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/patches/respect-dpkg-buildflags.patch b/debian/patches/respect-dpkg-buildflags.patch
deleted file mode 100644
index f972fbd..0000000
--- a/debian/patches/respect-dpkg-buildflags.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Description: Respect default {C,CPP}FLAGS from dpkg-buildflags
-Author: Dmitry Borisyuk <q1werty@i.com.ua>
---- a/Makefile.common
-+++ b/Makefile.common
-@@ -18,7 +18,7 @@
- CC = gcc
- LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib -lXmu
- INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
--CFLAGS = -O2 # overwriten by command line or env. variable
-+CFLAGS ?= -O2 # overwriten by command line or env. variable
- CFLAGS += -Wall # always nice to have
- ifneq (,$(DEVEL))
- CFLAGS := -g -Wall
-@@ -28,10 +28,10 @@
- CFLAGS += -g -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-
- %.o: %.c
-- $(CC) $(CFLAGS) $(INCS) -c $<
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(INCS) -c $<
-
- %.dep: %.c
-- $(CC) $(CFLAGS) $(INCS) -MM $< -o $@
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(INCS) -MM $< -o $@
-
- .PHONY: all clean distclean install uninstall
-
bgstack15