2021-09-02 17:45:42 +02:00
|
|
|
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=""
|
2021-07-07 17:43:52 +02:00
|
|
|
default_en_inband=""
|
|
|
|
|
2021-09-02 17:45:42 +02:00
|
|
|
LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib64"
|
2021-07-07 17:43:52 +02:00
|
|
|
+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)
|