[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Patch for GNU/Hurd



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


Reply to: