File: support-external-cflags

package info (click to toggle)
cwm 7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 420 kB
  • sloc: ansic: 6,322; yacc: 562; makefile: 78; perl: 69; sh: 15
file content (12 lines) | stat: -rw-r--r-- 291 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Change Makefile to add to CFLAGS instead of replacing them.
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@
 
 CPPFLAGS+=	`${PKG_CONFIG} --cflags x11 xft xrandr`
 
-CFLAGS?=	-Wall -O2 -g -D_GNU_SOURCE
+CFLAGS+=	-Wall -O2 -g -D_GNU_SOURCE
 
 LDFLAGS+=	`${PKG_CONFIG} --libs x11 xft xrandr`