[Mesa-stable] [PATCH 1/2] configure.ac: strip out the llvm-config -march/mtune flags

Chuck Atkins chuck.atkins at kitware.com
Fri Jun 10 18:23:41 UTC 2016


Should probably also add mcpu for good measure

- Chuck

On Fri, Jun 10, 2016 at 1:54 PM, Emil Velikov <emil.l.velikov at gmail.com>
wrote:

> From: Emil Velikov <emil.velikov at collabora.com>
>
> Otherwise drivers such as SWR that depend on providing their own values
> will fail to build.
>
> Cc: "11.2 12.0" <mesa-stable at lists.freedesktop.org>
> Cc: Tim Rowley <timothy.o.rowley at intel.com>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  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
> mesa-stable at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-stable
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20160610/f0e40f2c/attachment.html>


More information about the mesa-stable mailing list