Should probably also add mcpu for good measure

- Chuck

On Fri, Jun 10, 2016 at 1:54 PM, Emil Velikov <[email protected]>
wrote:

> From: Emil Velikov <[email protected]>
>
> Otherwise drivers such as SWR that depend on providing their own values
> will fail to build.
>
> Cc: "11.2 12.0" <[email protected]>
> Cc: Tim Rowley <[email protected]>
> Signed-off-by: Emil Velikov <[email protected]>
> ---
>  configure.ac | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 33d1fef..9e95f7b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2102,6 +2102,8 @@ AC_ARG_WITH([llvm-prefix],
>  strip_unwanted_llvm_flags() {
>      # Use \> (marks the end of the word)
>      echo `$1` | sed \
> +       -e 's/-march=\S*//g' \
> +       -e 's/-mtune=\S*//g' \
>         -e 's/-DNDEBUG\>//g' \
>         -e 's/-D_GNU_SOURCE\>//g' \
>         -e 's/-pedantic\>//g' \
> --
> 2.8.2
>
> _______________________________________________
> mesa-stable mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-stable
>
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to