File: fix_bindnow_flags.patch

package info (click to toggle)
boulder-game 1.02%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,708 kB
  • sloc: ansic: 32,633; cpp: 13,838; makefile: 108
file content (21 lines) | stat: -rw-r--r-- 632 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
From: =?utf-8?q?Andreas_R=C3=B6nnquist?= <gusnan@debian.org>
Date: Fri, 22 Nov 2024 18:37:29 +0100
Subject: Include LDFLAGS from system in build

---
 build/linux/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/linux/Makefile b/build/linux/Makefile
index 598538e..21c406d 100755
--- a/build/linux/Makefile
+++ b/build/linux/Makefile
@@ -20,7 +20,7 @@ PKG_CONFIG ?= pkg-config
 COMPILERFLAGS = -Wall
 
 ifeq ($(TARGET_OS),Linux)
- LDFLAGS_PLAIN = -lpthread
+ LDFLAGS_PLAIN = -lpthread $(LDFLAGS)
  EXE_PATH = ../../exe/linux_x64/
  LDFLAGS_GFX += `$(PKG_CONFIG) --libs sdl2` '-Wl,-R,$$ORIGIN/.'