summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch b/sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch
new file mode 100644
index 000000000000..7e92204d4037
--- /dev/null
+++ b/sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch
@@ -0,0 +1,15 @@
+diff -Naur a/Makefile b/Makefile
+--- a/Makefile 2019-05-19 16:36:31.000000000 +0300
++++ b/Makefile 2019-07-24 18:12:29.444896030 +0300
+@@ -1,8 +1,8 @@
+ PROG = uksmd
+ OBJS = uksmd.o
+-PREFIX ?= /usr/local
+-CFLAGS = -O3 -Wall -Wextra -pedantic -pipe -fstack-protector-strong -fno-plt
+-LDFLAGS = -lprocps
++PREFIX ?= /usr
++CFLAGS += -Wextra -pedantic -fstack-protector-strong -fno-plt
++LDFLAGS += -lprocps
+
+ all: build
+