Import LDFLAGS from redhat-rpm-config (#1548437)

This commit is contained in:
Jakub Jelen 2018-02-26 09:22:16 +01:00
parent 729963e95a
commit 020aac7621

View File

@ -214,6 +214,7 @@ for i in `find . -name config.sub`; do
done
CFLAGS="$RPM_OPT_FLAGS $CFLAGS $CPPFLAGS -fPIC -pie -Wl,-z,relro -Wl,-z,now"; export CFLAGS
LDFLAGS="$LDFLAGS -pie -Wl,-z,now"; export LDFLAGS
echo "$CFLAGS"
echo "$CPPFLAGS"