summaryrefslogtreecommitdiff
path: root/net-misc/pps-tools/files/pps-tools-1.0.1-LDFLAGS-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/pps-tools/files/pps-tools-1.0.1-LDFLAGS-fix.patch')
-rw-r--r--net-misc/pps-tools/files/pps-tools-1.0.1-LDFLAGS-fix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-misc/pps-tools/files/pps-tools-1.0.1-LDFLAGS-fix.patch b/net-misc/pps-tools/files/pps-tools-1.0.1-LDFLAGS-fix.patch
new file mode 100644
index 000000000000..868d97138184
--- /dev/null
+++ b/net-misc/pps-tools/files/pps-tools-1.0.1-LDFLAGS-fix.patch
@@ -0,0 +1,25 @@
+From 231123e1b275f88000e336a2d80d3d96c470ac5e Mon Sep 17 00:00:00 2001
+From: Thomas Deutschmann <whissi@gentoo.org>
+Date: Fri, 13 Oct 2017 15:10:08 +0200
+Subject: [PATCH] We need LDLIBS instead of LDFLAGS
+
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 039795e..a6bff4b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -4,7 +4,7 @@ CFLAGS ?= -O2 -ggdb
+ CFLAGS += -Wall
+ CFLAGS += -fPIC
+ CPPFLAGS += -D_GNU_SOURCE
+-LDFLAGS += -lm
++LDLIBS += -lm
+
+ # -- Actions section --
+
+--
+2.14.2
+