File: 0001-Accept-flags-from-the-environment.patch

package info (click to toggle)
detachtty 11.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 220 kB
  • sloc: ansic: 1,460; makefile: 46
file content (23 lines) | stat: -rw-r--r-- 563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Giovanni Mascellani <gio@debian.org>
Date: Tue, 17 Apr 2018 22:08:05 +0200
Subject: Accept flags from the environment.

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 7ee3793..563549a 100644
--- a/Makefile
+++ b/Makefile
@@ -30,8 +30,8 @@ INSTALL_DIR=/usr/local/bin
 ADD_CFLAGS=
 ADD_LDLIBS=
 
-CFLAGS=$(OS_CFLAGS) $(ADD_CFLAGS)
-LDLIBS=$(OS_LDLIBS) $(ADD_LDLIBS)
+CFLAGS:=$(OS_CFLAGS) $(ADD_CFLAGS) $(CFLAGS)
+LDLIBS:=$(OS_LDLIBS) $(ADD_LDLIBS) $(LDLIBS)
 
 all: detachtty attachtty
 clean: