[openarena] 05/15: Use LDFLAGS on non-Linux too
Simon McVittie
smcv at debian.org
Sun Feb 8 23:40:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository openarena.
commit 16b21b51320a92d6d63b378d69621f271eb9c6f6
Author: Simon McVittie <smcv at debian.org>
Date: Mon Aug 18 00:06:26 2014 +0100
Use LDFLAGS on non-Linux too
---
debian/changelog | 1 +
debian/patches/Use-LDFLAGS-on-non-Linux-too.patch | 25 +++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 27 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8a3a093..52805ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ openarena (0.8.8-10) UNRELEASED; urgency=low
* Recommend update-rc.d unconditionally: it "does the right thing"
for each of sysvinit, systemd and upstart
* Mention service(8) in README.Debian for completeness
+ * Use LDFLAGS on non-Linux too
-- Simon McVittie <smcv at debian.org> Sat, 18 May 2013 22:03:16 +0100
diff --git a/debian/patches/Use-LDFLAGS-on-non-Linux-too.patch b/debian/patches/Use-LDFLAGS-on-non-Linux-too.patch
new file mode 100644
index 0000000..0518282
--- /dev/null
+++ b/debian/patches/Use-LDFLAGS-on-non-Linux-too.patch
@@ -0,0 +1,25 @@
+From d05fac99ed9838ecc99426c4d788a66caa82951e Mon Sep 17 00:00:00 2001
+From: Simon McVittie <smcv at debian.org>
+Date: Sun, 17 Aug 2014 23:54:09 +0100
+Subject: [PATCH] Use LDFLAGS on non-Linux too
+
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 91fb204..617a566 100644
+--- a/Makefile
++++ b/Makefile
+@@ -767,7 +767,7 @@ else # ifeq sunos
+
+ SHLIBEXT=so
+ SHLIBCFLAGS=-fPIC
+- SHLIBLDFLAGS=-shared
++ SHLIBLDFLAGS=-shared $(LDFLAGS)
+
+ endif #Linux
+ endif #darwin
+--
+2.1.0
+
diff --git a/debian/patches/series b/debian/patches/series
index cd1e3b1..0b38c50 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
0031-Fix-FTBFS-on-kFreeBSD.patch
0040-Add-OPENARENA_081_COMPATIBLE-define-for-network-comp.patch
openarena_hurd_support.patch
+Use-LDFLAGS-on-non-Linux-too.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openarena.git
More information about the Pkg-games-commits
mailing list