File: 0005-default-build-flags.patch

package info (click to toggle)
nkf 1%3A2.1.5-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,496 kB
  • sloc: ansic: 22,612; perl: 548; makefile: 87; sh: 19; python: 9
file content (15 lines) | stat: -rw-r--r-- 339 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-11-14
Bug-Debian: https://bugs.debian.org/1119503
Description: Use default build flags

--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CC = cc
-CFLAGS = -g -O2 -Wall -pedantic
+CC ?= cc
+CFLAGS += $(CPPFLAGS) -g -O2 -Wall -pedantic
 # CFLAGS = -O3
 SHAR = shar 
 # SHAR = shar -T