diff options
Diffstat (limited to '')
-rw-r--r-- | contrib/crossrpms/freebsd6.0/Makefile.am | 2 | ||||
-rw-r--r-- | contrib/crossrpms/solaris2.7/Makefile.am | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/contrib/crossrpms/freebsd6.0/Makefile.am b/contrib/crossrpms/freebsd6.0/Makefile.am index 0d0e8e5ea2..ee231a2b14 100644 --- a/contrib/crossrpms/freebsd6.0/Makefile.am +++ b/contrib/crossrpms/freebsd6.0/Makefile.am @@ -92,6 +92,8 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add gcc-prep.a -e "/[@]tool_target[@]-w32api-sys-root/d" \ -e "/--with-newlib/d" \ -e 's,^%define build_newlib.*$$,%define build_newlib 0,' \ + -e "s,^%define[ ]*_fortran[ ]*0,%define _fortran 1," \ + -e "s,^%define[ ]*_objc[ ]*0,%define _objc 1," \ > $(TARGET)-gcc.spec.in CLEANFILES += $(TARGET)-gcc.spec.in diff --git a/contrib/crossrpms/solaris2.7/Makefile.am b/contrib/crossrpms/solaris2.7/Makefile.am index 1ee84aabcc..26a8a5c95d 100644 --- a/contrib/crossrpms/solaris2.7/Makefile.am +++ b/contrib/crossrpms/solaris2.7/Makefile.am @@ -92,6 +92,8 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add gcc-prep.a -e "/[@]tool_target[@]-w32api-sys-root/d" \ -e "/--with-newlib/d" \ -e 's,^%define build_newlib.*$$,%define build_newlib 0,' \ + -e "s,^%define[ ]*_fortran[ ]*0,%define _fortran 1," \ + -e "s,^%define[ ]*_objc[ ]*0,%define _objc 1," \ > $(TARGET)-gcc.spec.in CLEANFILES += $(TARGET)-gcc.spec.in |