Index: openmsx-catapult-0.14.0/build/main.mk
===================================================================
--- openmsx-catapult-0.14.0.orig/build/main.mk
+++ openmsx-catapult-0.14.0/build/main.mk
@@ -54,10 +54,10 @@ BOOLCHECK=$(strip \
 # and by this Makefile.
 # Note: LDFLAGS are passed to the linker itself, LINK_FLAGS are passed to the
 #       compiler in the link phase.
-CXXFLAGS:=
+CXXFLAGS:=$(DEB_CXXFLAGS)
 LDFLAGS:=
 LDADD:=
-LINK_FLAGS:=
+LINK_FLAGS:=$(DEB_LDFLAGS)
 SOURCES:=
 
 # Logical Targets
