[patch] PR428 - remove -pedantic from LLVM_CFLAGS on Shark builds

Matthias Klose doko at ubuntu.com
Fri Jan 15 06:22:08 PST 2010


looks ok. never noticed this because debian's llvm-config already strips -pedantic.

   Matthias

On 15.01.2010 15:14, Xerxes Rånby wrote:
> The attached patch removes -pedantic from LLVM_CFLAGS to fix PR428
> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=428
>
> ok to push to icedtea6?
>
> ok to push to icedtea?
>
> ChangeLog message:
> 2010-01-15  Xerxes Rånby<xerxes at zafena.se>
>
>         PR icedtea/428:
>         * configure.ac (LLVM_CFLAGS): Remove -pedantic from LLVM_CFLAGS.
>
> Cheers and have a great day!
> Xerxes
>
> Index: icedtea6/configure.ac
> ===================================================================
> --- icedtea6.orig/configure.ac  2010-01-15 14:55:53.000000000 +0100
> +++ icedtea6/configure.ac       2010-01-15 14:58:14.000000000 +0100
> @@ -607,7 +607,7 @@
>     llvm_components="jit engine nativecodegen"
>     LLVM_CFLAGS=`$LLVM_CONFIG --cxxflags $llvm_components | \
>       sed -e 's/-O.//g' | sed -e 's/-fomit-frame-pointer//g' | \
> -    sed -e 's/-D_DEBUG//g'`
> +    sed -e 's/-pedantic//g' | sed -e 's/-D_DEBUG//g'`
>     LLVM_CFLAGS="$LLVM_CFLAGS -DSHARK_LLVM_VERSION=`$LLVM_CONFIG
> --version | sed 's/\.//;s/svn.*//'`"
>     LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags $llvm_components`
>     LLVM_LIBS=`$LLVM_CONFIG --libs $llvm_components`
>




More information about the distro-pkg-dev mailing list