https://bugzilla.redhat.com/show_bug.cgi?id=1350257
--- Comment #26 from Antonio Trande <anto.trande(a)gmail.com> ---
%configure CFLAGS=$SETOPT_FLAGS CXXFLAGS=$SETOPT_FLAGS
FCFLAGS=$SETOPT_FLAGS
FFLAGS=$SETOPT_FLAGS LDFLAGS=$LDFLAGS \
Line above is a legacy of older configuration, it's a mistake.
Fixing it, i obtain again the following error about unrecognizable flag:
===============================================================================
Configuring PETSc to compile on your system
===============================================================================
*******************************************************************************
ERROR in COMMAND LINE ARGUMENT to ./configure
-------------------------------------------------------------------------------
The option -Wp,-D_FORTIFY_SOURCE should probably be -Wp,-D-FORTIFY-SOURCE
*******************************************************************************
Current configuration is:
%if %{with debug}
CFLAGS="-Og -g %{__global_ldflags} -Wl,--as-needed
%{?el6:-L%{_libdir}/papi-5.1.1/%{_prefix}/lib} -L%{_libdir}"
CXXFLAGS="-Og -g"
FCFLAGS="-Og -g -I%{_fmoddir}"
FFLAGS="-Og -g -I%{_fmoddir}"
%else
CFLAGS="%{optflags} -O3 %{__global_ldflags} -Wl,--as-needed
%{?el6:-L%{_libdir}/papi-5.1.1/%{_prefix}/lib} -L%{_libdir}"
CXXFLAGS="%{optflags} -O3"
FCFLAGS="%{optflags} -O3 -I%{_fmoddir}"
FFLAGS="%{optflags} -O3 -I%{_fmoddir}"
%endif
%configure CFLAGS=$CFLAGS CXXFLAGS=$CXXFLAGS FCFLAGS=$FCFLAGS FFLAGS=$FFLAGS
LDFLAGS=$LDFLAGS
...
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component