Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 503804
Collapse All | Expand All

(-)configure.in.orig (-16 lines)
Lines 856-877 Link Here
856
    for oflag in -fno-fast-math; do
856
    for oflag in -fno-fast-math; do
857
	RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])
857
	RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])
858
    done
858
    done
859
    AS_CASE(["$target"],
860
	[*-darwin*], [
861
	    # doesn't seem necessary on Mac OS X
862
	],
863
	[[i[4-6]86*]], [
864
	    RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [
865
		RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse)
866
	    ])
867
            AS_CASE(["$XCFLAGS"],
868
                [[*-msse2*]], [
869
                    RUBY_TRY_CFLAGS(-mstackrealign, [
870
                        RUBY_APPEND_OPTION(XCFLAGS, -mstackrealign)
871
                    ])
872
                ])
873
	]
874
    )
875
fi
859
fi
876
860
877
AC_ARG_WITH(opt-dir,
861
AC_ARG_WITH(opt-dir,

Return to bug 503804