My build of dwm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 line
1.0 KiB

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