[Mesa-dev] [PATCH 1/2] configure: Remove more flags from llvm-config
Francisco Jerez
currojerez at riseup.net
Sun Mar 2 14:15:15 PST 2014
Bruno Jiménez <brunojimen at gmail.com> writes:
> This way, we are left with only the preprocessor flags and '-std=X'
> ---
> configure.ac | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
> diff --git a/configure.ac b/configure.ac
> index 5b86141..2378d00 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1542,8 +1542,15 @@ strip_unwanted_llvm_flags() {
> -e 's/-O.\>//g' \
> -e 's/-g\>//g' \
> -e 's/-Wall\>//g' \
> + -e 's/-Wcast-qual\>//g' \
> + -e 's/-Woverloaded-virtual\>//g' \
> -e 's/-fcolor-diagnostics\>//g' \
> - -e 's/-fomit-frame-pointer\>//g'
> + -e 's/-fdata-sections\>//g' \
> + -e 's/-ffunction-sections\>//g' \
> + -e 's/-fno-exceptions\>//g' \
> + -e 's/-fomit-frame-pointer\>//g' \
> + -e 's/-fvisibility-inlines-hidden\>//g' \
> + -e 's/-fPIC\>//g'
> }
>
>
> --
> 1.9.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140302/6901426d/attachment.pgp>
More information about the mesa-dev
mailing list