aboutsummaryrefslogtreecommitdiffstats
path: root/redhat-hardened-ld
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2024-04-21 09:28:07 +0300
committerJani Välimaa <wally@mageia.org>2024-04-21 09:28:07 +0300
commitc03396b6f30984fc5d63ed921eedf2d82100e1db (patch)
tree225b3003a84207e977c4e6235c8775a59580f744 /redhat-hardened-ld
parent2b0d3165be210e6ca67c1c9443331c08e82c7f4d (diff)
downloadrpm-setup-c03396b6f30984fc5d63ed921eedf2d82100e1db.tar
rpm-setup-c03396b6f30984fc5d63ed921eedf2d82100e1db.tar.gz
rpm-setup-c03396b6f30984fc5d63ed921eedf2d82100e1db.tar.bz2
rpm-setup-c03396b6f30984fc5d63ed921eedf2d82100e1db.tar.xz
rpm-setup-c03396b6f30984fc5d63ed921eedf2d82100e1db.zip
macros: add %_hardened_build (from Fedora) to build pkgs with position-independent code by default
Diffstat (limited to 'redhat-hardened-ld')
-rw-r--r--redhat-hardened-ld2
1 files changed, 2 insertions, 0 deletions
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}}}