File: makefile-allow-passing-additional-cflags.patch

package info (click to toggle)
dvbtune 0.5.ds-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 432 kB
  • sloc: ansic: 2,114; sh: 82; makefile: 48
file content (17 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Thu, 12 May 2022 00:34:59 +0000
X-Dgit-Generated: 0.5.ds-4~20220512~0 b5ac71a0203370a76a210e7897ff0f70090741c4
Subject: Makefile: Allow passing additional CFLAGS via EXTRA_CFLAGS.


---

--- dvbtune-0.5.ds.orig/Makefile
+++ dvbtune-0.5.ds/Makefile
@@ -1,5 +1,5 @@
 INCS=-I /usr/include/libxml2
-CFLAGS= -g -Wall $(INCS) -DVERSION=\"$(VERSION)\"
+CFLAGS= -g -Wall $(INCS) -DVERSION=\"$(VERSION)\" $(EXTRA_CFLAGS)
 CC=gcc
 all: dvbtune