2025-11-18 19:27:03 +01:00
|
|
|
commit 77ebcfe7e1c1d5a3037761aa64de6f9ca32361d7
|
2021-09-02 15:45:42 +00:00
|
|
|
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
|
|
|
|
|
|
2025-11-18 19:27:03 +01:00
|
|
|
diff --git configure.ac configure.ac
|
|
|
|
|
index dc356443f2cc..ef5fc5584e6a 100644
|
|
|
|
|
--- configure.ac
|
2021-09-02 15:45:42 +00:00
|
|
|
+++ configure.ac
|
2025-11-18 19:27:03 +01:00
|
|
|
@@ -104,6 +104,12 @@ else
|
|
|
|
|
fi
|
|
|
|
|
fi
|
2021-07-07 15:43:52 +00:00
|
|
|
|
2025-11-18 19:27:03 +01:00
|
|
|
+# All bin programs are linked using LDL
|
|
|
|
|
+# reuse this instead of LDFLAGS as it would mess
|
|
|
|
|
+# up shared lib builds
|
2021-07-07 15:43:52 +00:00
|
|
|
+if test "$host_cpu" != "s390x"; then
|
2025-11-18 19:27:03 +01:00
|
|
|
+ LDL="${LDL} -pie"
|
2021-07-07 15:43:52 +00:00
|
|
|
+fi
|
2025-11-18 19:27:03 +01:00
|
|
|
|
|
|
|
|
AC_SUBST(MTCR_CONF_DIR)
|
|
|
|
|
AC_SUBST(VFIO_DRIVER_DIR)
|