s390-tools/s390-tools-sles15sp5-remove-no-pie-link-arguments.patch
Nikolay Gueorguiev 16326310fb Accepting request 1107184 from home:ngueorguiev:branches:Base:System
- Amended read_value.c for newer z16 models (bsc#1214534), the patches were updated by quilt.

OBS-URL: https://build.opensuse.org/request/show/1107184
OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=178
2023-08-28 12:27:50 +00:00

20 lines
600 B
Diff

---
common.mak | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: s390-tools-2.29.0/common.mak
===================================================================
--- s390-tools-2.29.0.orig/common.mak
+++ s390-tools-2.29.0/common.mak
@@ -338,8 +338,8 @@ export INSTALL CFLAGS CXXFLAGS \
LDFLAGS CPPFLAGS ALL_CFLAGS ALL_CXXFLAGS ALL_LDFLAGS ALL_CPPFLAGS
ifneq ($(shell $(CC_SILENT) -dumpspecs 2>/dev/null | grep -e '[^f]no-pie'),)
- NO_PIE_CFLAGS := -fno-pie
- NO_PIE_LDFLAGS := -no-pie
+ NO_PIE_CFLAGS :=
+ NO_PIE_LDFLAGS :=
else
NO_PIE_CFLAGS :=
NO_PIE_LDFLAGS :=