FIX error: gdbsupport/safe-strerror-ipa.o: relocation r_x86_64_tpoff32 against
`_zz13safe_strerrorie3buf' can not be used when making a shared object
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
rm -f gdb/doc/*.info-*
%build
-export CFLAGS+=" -fPIE"
+export CFLAGS+=" -fPIC"
#If you want to add a new LDFLAGS to IPA, add it to `IPA_LDFLAGS` rather than` LDFLAGS`.
export LIB_CXXFLAGS=$CXXFLAGS
export IPA_LDFLAGS=$LDFLAGS
-export CXXFLAGS+=" -fPIE"
+export CXXFLAGS+=" -fPIC"
export LDFLAGS+=" -pie"
%{!?gdb_skip_configure: