diff options
author | Jani Välimaa <wally@mageia.org> | 2024-04-21 09:28:07 +0300 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2024-04-21 09:28:07 +0300 |
commit | c03396b6f30984fc5d63ed921eedf2d82100e1db (patch) | |
tree | 225b3003a84207e977c4e6235c8775a59580f744 /redhat-hardened-cc1 | |
parent | 2b0d3165be210e6ca67c1c9443331c08e82c7f4d (diff) | |
download | rpm-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-cc1')
-rw-r--r-- | redhat-hardened-cc1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat-hardened-cc1 b/redhat-hardened-cc1 new file mode 100644 index 0000000..a369517 --- /dev/null +++ b/redhat-hardened-cc1 @@ -0,0 +1,5 @@ +*cc1_options: ++ %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}} + +*cpp_options: ++ %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}} |