From 7bd6a4fbe985d0ffa163dfba3fa83398736e1cd8 Mon Sep 17 00:00:00 2001 From: Chia-Che Tsai Date: Mon, 8 Jul 2019 11:21:54 +0800 Subject: [PATCH] Enforce -no-pie for LTP binaries --- ltp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltp/Makefile b/ltp/Makefile index cf1f202..ac43808 100644 --- a/ltp/Makefile +++ b/ltp/Makefile @@ -19,7 +19,7 @@ $(SRCDIR)/configure: $(SRCDIR).tar.xz tar -xmJf $< $(BUILDDIR)/runltp: $(SRCDIR)/configure - cd $(SRCDIR) && ./configure + cd $(SRCDIR) && ./configure CFLAGS=-no-pie cd $(SRCDIR) && make all cd $(SRCDIR) && make "DESTDIR=$(PWD)" SKIP_IDCHECK=1 install patch -d $(dir $@) < runltp.patch