From c1e8b3a3099916f6f4b78eac01bd39d677bdf3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 14 Jul 2021 12:21:50 +0000 Subject: [PATCH] workaround a build issue with new ld (binutils >= 2.36) The new ld doesn't ignore an unrecorgnized -no-pie option. Related: https://github.com/ibm-s390-linux/s390-tools/pull/106 --- s390utils.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/s390utils.spec b/s390utils.spec index b45ef43..df328ed 100644 --- a/s390utils.spec +++ b/s390utils.spec @@ -66,6 +66,7 @@ find . -name Makefile | xargs sed -i 's/$(INSTALL) -s/$(INSTALL)/g' %build make \ CFLAGS="%{build_cflags}" CXXFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" \ + NO_PIE_LDFLAGS="" \ BINDIR=/usr/sbin \ DISTRELEASE=%{release} \ V=1