Description: Modification to allow dpkg-buildflags This modification allows the dpkg-buildflags to inject compilation flags in addition to vendor specific patches. Also this patch removes -Os from upstream allowing use DEB_BUILD_OPTIONS=noopt Author: Vasudev Kamath Forwarded: not-needed Last-Update: 2016-03-26 --- a/config.mk 2016-03-26 15:58:16.677180328 +0100 +++ b/config.mk 2016-03-26 16:17:29.594570899 +0100 @@ -25,10 +25,10 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} # flags -CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CPPFLAGS += -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} -CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} -LDFLAGS = -s ${LIBS} +CFLAGS += -std=c99 -pedantic -Wall -Wno-deprecated-declarations ${INCS} ${CPPFLAGS} +LDFLAGS += -s ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"