Index: SPECS/gcc41.spec =================================================================== --- SPECS.orig/gcc41.spec +++ SPECS/gcc41.spec @@ -9,8 +9,13 @@ %else %define build_ada 0 %endif +%ifnarch %{arm} %define build_java 1 %define build_objc 1 +%else +%define build_java 0 +%define build_objc 0 +%endif %ifarch s390x %define multilib_32_arch s390 %endif @@ -26,7 +31,7 @@ Summary: Various compilers (C, C++, Objective-C, Java, ...) Name: gcc Version: %{gcc_version} -Release: %{gcc_release} +Release: %{gcc_release}.fa1 # libgcc, libgfortran, libmudflap and crtstuff have an exception which allows # linking it into any kind of programs or shared libraries without # restrictions. @@ -44,6 +49,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version # Need binutils which support .weakref >= 2.16.91.0.3-1 # Need binutils which support --hash-style=gnu >= 2.17.50.0.2-7 # Need binutils which support mffgpr and mftgpr >= 2.17.50.0.2-8 +# Need binutils which support 2-argument .movsp >= 2.17.50.0.5 # Need binutils which support --build-id >= 2.17.50.0.17-3 BuildRequires: binutils >= 2.17.50.0.17-3 BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils @@ -80,6 +86,7 @@ Requires: cpp = %{version}-%{release} # Need binutils that support .weakref # Need binutils that supports --hash-style=gnu # Need binutils that support mffgpr/mftgpr +# Need binutils that support 2-argument .movsp # Need binutils that support --build-id Requires: binutils >= 2.17.50.0.17-3 # Make sure gdb will understand DW_FORM_strp