File: buildflags.patch

package info (click to toggle)
abpoa 1.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,020 kB
  • sloc: ansic: 8,288; sh: 783; makefile: 136; python: 120
file content (17 lines) | stat: -rw-r--r-- 445 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: inject standard debian build flags.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2022-07-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- abpoa.orig/Makefile
+++ abpoa/Makefile
@@ -23,7 +23,7 @@
 	OPT_FLAGS = -O3
 endif
 
-CFLAGS        = $(OPT_FLAGS) $(EXTRA_FLAGS)
+CFLAGS        += $(CPPFLAGS) $(OPT_FLAGS) $(EXTRA_FLAGS) $(LDFLAGS)
 
 # for gprof
 ifneq ($(pg),)