EL8/GCC 8.5 needs -fPIE on building daemon/ on master, mr12.0.1. This PR allows make to receive distro-specific flags.
# build with distro specific flags
EXTRA_CFLAGS=-fPIE make
Reason for this PR: error on EL8 on current master without -fPIE:
/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `s16_mix_in.lto_priv.206' with pointer equality in `/tmp/cceywfR9.ltrans1.ltrans.o' can not be used when making an executable; recompile with -fPIE and relink with -pie
collect2: error: ld returned 1 exit status
On EL8 this error is specific to the system GCC 8.5; -fPIE is not needed with gcc-toolset-[9-12].
EL8/GCC 8.5 needs
-fPIE
on buildingdaemon/
on master, mr12.0.1. This PR allows make to receive distro-specific flags.Reason for this PR: error on EL8 on current master without
-fPIE
:On EL8 this error is specific to the system GCC 8.5;
-fPIE
is not needed with gcc-toolset-[9-12].