Bug#720941: Patch for GNU/Hurd

Samuel Thibault sthibault at debian.org
Tue Aug 27 20:38:45 UTC 2013


Svante Signell, le Mon 26 Aug 2013 22:33:45 +0200, a écrit :
> @@ -290,7 +293,14 @@ else
>      if test x$force_arch = x; then
>        AC_MSG_WARN([If you intend to distribute this binary, make sure you use force_arch and set to i586 (or whichever CPU Arch you intend for)])
>      fi
> -    CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -fprefetch-loop-arrays -fforce-addr -D__RELEASE__"
> +    case x$target in
> +      *-*-gnu*)
> +        CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -fforce-addr -D__RELEASE__"
> +        ;;
> +      *)
> +        CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -fprefetch-loop-arrays -fforce-addr -D__RELEASE__"
> +        ;;
> +    esac

Errr, why dropping -fprefetch-loop-arrays?  There shouldn't be any
difference here between GNU/Linux and GNU/Hurd here.

Samuel



More information about the Pkg-games-devel mailing list