Description: Include standard flags
 Include all dpkg-dev standard flags in build.
 .
 tuxpaint-config (0.0.13-1) unstable; urgency=medium
 .
   * New upstream release. (Closes: #626782, #722947)
   * Switch to dpkg-source 3.0 (quilt) format.
   * Include watch file, thanks to Daniel Liedert <daniel.leidert@wgdd.de>.
     (Closes: #549385).
   * Update watch file to new location.
Author: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
Bug-Debian: https://bugs.debian.org/549385
Bug-Debian: https://bugs.debian.org/626782
Bug-Debian: https://bugs.debian.org/722947

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- tuxpaint-config-0.0.13.orig/Makefile
+++ tuxpaint-config-0.0.13/Makefile
@@ -90,7 +90,8 @@ CFLAGS=-O2 -Wall
 ALL_CFLAGS=$(CFLAGS) $(FLTK_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \
 	-D$(NOSOUNDFLAG) -DDOC_PREFIX=\"$(DOC_PREFIX)\" \
 	-DLOCALEDIR=\"$(LOCALE_PREFIX)\" -DCONFDIR=\"$(CONFDIR)\" \
-	-DVER_VERSION=\"$(VER_VERSION)\" -DVER_DATE=\"$(VER_DATE)\"
+	-DVER_VERSION=\"$(VER_VERSION)\" -DVER_DATE=\"$(VER_DATE)\" \
+	$(CPPFLAGS) $(CXXFLAGS)
 
 
 # "make" with no arguments builds the program and man page from sources:
@@ -304,7 +305,7 @@ install-man:
 tuxpaint-config:	obj/tuxpaint-config.o obj/tuxpaint-config2.o	\
 			obj/defaults.o $(ARCH_LIBS)
 	@echo Linking
-	$(CXX) $(ALL_CFLAGS) -o tuxpaint-config obj/tuxpaint-config.o 	\
+	$(CXX) $(ALL_CFLAGS) $(LDFLAGS) -o tuxpaint-config obj/tuxpaint-config.o 	\
 			obj/tuxpaint-config2.o obj/defaults.o $(ARCH_LIBS) \
 			$(FLTK_LIBS) $(ARCH_LINKS) $(PAPER_LIB)
 
