mstflint/PIE.patch
Dirk Stoecker 4f2b0df7ad Accepting request 913944 from home:NMoreyChaisemartin:branches:science:HPC
- Update to v4.17.0-1 (jsc#SLE-19261)
  - Anti-rollback Protection
    - Enabled Anti-rollback protection to prevent old vulnerable firmware
      versions from being flashed to the device
  - mstlink tool
    - Added support for DSFP modules
  - Parallel Firmware Burning (DMA Burning)
    - Added support for parallel firmware burning.
- Refresh PIE.patch against latest sources

OBS-URL: https://build.opensuse.org/request/show/913944
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=44
2021-09-02 15:45:42 +00:00

25 lines
733 B
Diff

commit da607dd93fc67a63029d08f868e1e1c2c70e9663
Author: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Date: Fri Jul 9 13:01:55 2021 +0200
PIE
Hardware error from APEI Generic Hardware Error Source: 0
Signed-off-by: Hardware error from APEI Generic Hardware Error Source: 0
diff --git configure.ac configure.ac
index 35049bcbbed4..273ce3186936 100644
--- configure.ac
+++ configure.ac
@@ -59,6 +59,9 @@ LDL=""
default_en_inband=""
LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib64"
+if test "$host_cpu" != "s390x"; then
+ LDFLAGS="${LDFLAGS} -pie"
+fi
CXXFLAGS="${CXXFLAGS} -isystem /usr/local/include"
if test "x$OS" = "xFreeBSD"; then
AC_MSG_NOTICE(FreeBSD Build)