10318N/A# Intel SSE2 ISA settings for Solaris packages 10318N/A# Copyright 2007 Sun Microsystems, Inc. 10318N/A# Solaris.inc must be included before this file 18546N/A%define bld_arch pentium_pro+mmx 18546N/A%define sse2_arch pentium_pro+mmx 10318N/A%define gtk_doc_option --disable-gtk-doc 11313N/A%define arch_ldadd -Wl,-zignore -lgnuintl -lgnuiconv -xarch=sse2 -L%{_libdir} -R%{_libdir} -R/usr/gnu/lib 10318N/A%define arch_ldadd -xarch=sse2 -L%{_libdir} -R%{_libdir} 10318N/A%define pkgbuild_postprocess /bin/true 10489N/A%define _cc_opt_level -xO4 -xspace -xvector 10489N/A%define _cxx_opt_level -xO3 -xspace -xvector 10328N/A%define gcc_optflags %_gcc_opt_level -mcpu=pentiumpro -mtune=pentiumpro -msse2 -Xlinker -i -fno-omit-frame-pointer %gcc_picflags 10328N/A%define gcc_cxx_optflags %_gxx_opt_level -mcpu=pentiumpro -mtune=pentiumpro -msse2 -Xlinker -i -fno-omit-frame-pointer %gcc_picflags 10489N/A%define suncc_optflags -i %_cc_opt_level -xstrconst -xarch=sse2 -mr -xregs=no%%frameptr 10489N/A%define suncc_cxx_optflags -i %_cxx_opt_level -xarch=sse2 -mr -norunpath -xregs=no%%frameptr 10318N/A%define cxx_optflags %gcc_cxx_optflags 10318N/A%define picflags %suncc_picflags 10318N/A%define optflags %suncc_optflags ${EXTRA_CFLAGS} 10318N/A%define cxx_optflags %suncc_cxx_optflags ${EXTRA_CXXFLAGS} 10318N/A%define _bindir %{_prefix}/bin/%{bld_arch} 10318N/A%define _libdir %{_prefix}/lib/%{bld_arch} 10318N/A%define _libexecdir %{_prefix}/lib/%{bld_arch} 10318N/A%define _pkg_config_path %{_libdir}/%{bld_arch}/pkgconfig 11313N/A# 2007-09-28 Laszlo (Laca) Peter <laca@sun.com> 11313N/A# - add /usr/gnu/lib to the RUNPATH and link with GNU libintl and libiconv 11313N/A# when building with the --with-gnu-iconv option 10489N/A# 2007-04-16 Laszlo (Laca) Peter <laca@sun.com> 10489N/A# - move -xvector the optimized flags as it required -xO3 or higher 10489N/A# so it wouldn't break debug builds 10328N/A# 2007-03-19 Doug Scott <dougs@truemail.co.th> 10328N/A# - Fixed -fno-omit-frame-pointer flag 10318N/A# 2007-03-15 Laszlo (Laca) Peter <laca@sun.com> 10318N/A# - define suncc_optflags, suncc_cxx_optflags, gcc_optflags, gcc_cxx_optflags 10318N/A# 2007-03-12 Doug Scott <dougs@truemail.co.th>