My build of dwm
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

2002_inject_hardening_flags.patch 1.0 KiB

il y a 4 ans
1234567891011121314151617181920212223
  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}\"