xbps-src: pass PIE flags via -specs mechanism, avoids breaking static build.

This commit is contained in:
Christian Neukirchen 2015-03-07 20:52:28 +01:00
parent 494316a961
commit ea96fc3cce
3 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,5 @@
*self_spec:
+ %{static|Bstatic|shared|Bshareable|i|r|pie|nopie:;:-pie}
*link:
+ %{!static:-z relro}