From c03396b6f30984fc5d63ed921eedf2d82100e1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sun, 21 Apr 2024 09:28:07 +0300 Subject: macros: add %_hardened_build (from Fedora) to build pkgs with position-independent code by default --- redhat-hardened-ld | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 redhat-hardened-ld (limited to 'redhat-hardened-ld') diff --git a/redhat-hardened-ld b/redhat-hardened-ld new file mode 100644 index 0000000..bd6b907 --- /dev/null +++ b/redhat-hardened-ld @@ -0,0 +1,2 @@ +*self_spec: ++ %{!static:%{!shared:%{!r:-pie}}} -- cgit v1.2.1