15 lines
383 B
Text
15 lines
383 B
Text
$NetBSD: patch-Makefile,v 1.3 2017/11/16 13:57:19 wiz Exp $
|
|
|
|
Use LDFLAGS to fix RELRO build.
|
|
|
|
--- Makefile.orig 2016-07-27 23:06:30.000000000 +0000
|
|
+++ Makefile
|
|
@@ -6,7 +6,7 @@ rm = rm
|
|
inc = inc
|
|
optimize = -O2
|
|
flags = -pipe -Wall $(optimize)
|
|
-libs = -lexpat `pkg-config --libs libzip`
|
|
+libs = -lexpat `pkg-config --libs libzip` $(LDFLAGS)
|
|
strip = -s
|
|
|
|
# Objects for Main Binary
|