head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2017.10.28.04.08.46; author khorben; state dead; branches; next 1.1; commitid PMc514DulVsfVLcA; 1.1 date 2017.10.28.03.14.17; author khorben; state Exp; branches; next ; commitid FuJTO4bc3NihCLcA; desc @@ 1.2 log @Commit the right patch for gdbsx and RELRO @ text @$NetBSD: patch-debugger_gdbsx_Makefile,v 1.1 2017/10/28 03:14:17 khorben Exp $ Add support for LDFLAGS when building gdbsx --- debugger/gdbsx/Makefile.orig 2016-09-20 05:59:24.000000000 +0000 +++ debugger/gdbsx/Makefile @@@@ -18,7 +18,7 @@@@ install: all $(INSTALL_PROG) gdbsx $(DESTDIR)$(SBINDIR)/gdbsx gdbsx: gx/gx_all.a xg/xg_all.a - $(CC) -o $@@ $^ + $(CC) $(LDFLAGS) -o $@@ $^ xg/xg_all.a: $(MAKE) -C xg @ 1.1 log @Add support for LDFLAGS when building gdbsx in xentools{42,45,46,48} This helps pass the RELRO check for these packages. @ text @d1 1 a1 1 $NetBSD$ @