Ticket 49515 - cannot link, missing -fPIC
Bug Description: When building the server with --disable-gcc-security,
due to an issue in autotools linker flag emission on RPM based
system, -fPIC is missing. --enable-gcc-security masks this by
providing -specs that add -fPIC when required on the types.
This causes the build to fail in some conditions,
Fix Description: Detect and add the rpm cc specs if present
on all builds.
https://pagure.io/389-ds-base/issue/49515
Author: wibrown
Review by: mreynolds (Thanks!)