forked from pool/mstflint
Nicolas Morey
eb0ed59a97
- version update to 4.23.0 https://github.com/Mellanox/mstflint/releases/download/v4.23.0-1/MSTFLINT.Package.-Firmware.Burning.and.Diagnostics.Tools.Documentation.v4.23.0.pdf - modified patches % PIE.patch (refreshed) OBS-URL: https://build.opensuse.org/request/show/1091263 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=49
25 lines
785 B
Diff
25 lines
785 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
|
|
|
|
Index: configure.ac
|
|
===================================================================
|
|
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -91,6 +91,9 @@ AM_CONDITIONAL(KERNEL_BUILD,[test ${KERN
|
|
AC_SUBST(KERNEL_BUILD)
|
|
|
|
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)
|