Right. -shared isn't in the arguments. The contents of the two
referenced -specs is as follows:
```
[root@02bb5d38805e /]# cat /usr/lib/rpm/redhat/redhat-hardened-cc1
*cc1_options:
+ %{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}
[root@02bb5d38805e /]# cat /usr/lib/rpm/redhat/redhat-hardened-ld
*self_spec:
+ %{!shared:-pie}
*link:
+ -z now
```
Which is the same content as is for fedora 22, which does compile fine.
More research and education needed on my side.
vb