ports/multimedia/libfame/files/patch-cflags
Mikhail Teterin a0f2c30ec6 Fix configure to stop appending ``-march=i386'' to CFLAGS on i386.
Depending on other optimization options, compiler could get confused
into an internal error, and was, probably, building pessimized code
even when working.

Ensure warning-free build, while I'm here. Mark the SSE as having no
effect -- ``--enable-sse'' causes configure to add the HAS_SSE define
to CFLAGS, but nothing in the current release checks for that flag. Ha-ha.

There are SSE implementations of some parts of the code (they are just
no used), so, perhaps, someone can add another patch to make use of them,
when possible.
2005-07-12 23:41:42 +00:00

10 lines
251 B
Text

--- configure Wed Feb 11 08:12:28 2004
+++ configure Tue Jul 12 18:56:00 2005
@@ -4500,4 +4500,7 @@
case "$target" in
+ *-*-freebsd*)
+ CFLAGS="$CFLAGS -DHAS_BSWAP"
+ ;;
alpha*-*-linux*)
if test x$ac_cv_c_compiler_gnu = xyes; then