From e13030475b3ef3d2375157c9f96781fe62395355 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 12 Jul 2017 12:17:02 +0000 Subject: Honor LDFLAGS. Fixes RELRO build. --- emulators/applyppf/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'emulators') diff --git a/emulators/applyppf/Makefile b/emulators/applyppf/Makefile index d9741df5f6f..e8cc00233c6 100644 --- a/emulators/applyppf/Makefile +++ b/emulators/applyppf/Makefile @@ -1,5 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/10/03 12:55:09 asau Exp $ -# +# $NetBSD: Makefile,v 1.5 2017/07/12 12:17:02 wiz Exp $ DISTNAME= applyppf3_src PKGNAME= applyppf-3.0 @@ -15,7 +14,7 @@ WRKSRC= ${WRKDIR} INSTALLATION_DIRS= bin do-build: - cd ${BUILD_DIRS} && ${CC} ${CPPFLAGS} ${CFLAGS} \ + cd ${BUILD_DIRS} && ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ -D_LARGEFILE64_SOURCE -o applyppf applyppf3_linux.c -- cgit v1.2.3