File: build-flags

package info (click to toggle)
lutefisk 1.0.7%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,380 kB
  • sloc: ansic: 24,297; makefile: 16; sh: 15
file content (11 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
Set an incremental CFLAGS flag using += instead of setting it using =
so that the flags in debian/rules are not overwritten.
--- a/src/Makefile.linux
+++ b/src/Makefile.linux
@@ -1,5 +1,5 @@
 CC= gcc -O
-CFLAGS= -D__LINUX
+CFLAGS+=-D__LINUX
 LFLAGS= -lm -o
 
 NRAND= nrand48