[BACK]Return to patch-Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / odt2tex / patches

File: [cvs.NetBSD.org] / pkgsrc / textproc / odt2tex / patches / patch-Makefile (download)

Revision 1.3, Thu Nov 16 13:57:19 2017 UTC (21 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, HEAD
Changes since 1.2: +6 -22 lines

odt2tex: Honor LDFLAGS. Fixes RELRO build.

$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