sys-devel/llvm: Fix configure phase for 3.4.2-r100
authorMichał Górny <mgorny@gentoo.org>
Wed, 24 May 2017 13:39:51 +0000 (15:39 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 3 Jun 2017 08:27:24 +0000 (10:27 +0200)
sys-devel/llvm/llvm-3.4.2-r100.ebuild

index 6907006835c149c6f529e12beeeaf4273970a388..bd41c339154dc0a4232dafadbb4dbdc431126e89 100644 (file)
@@ -146,14 +146,14 @@ src_prepare() {
        python_setup
 }
 
-multilib_src_configure() {
+src_configure() {
        # disable timestamps since they confuse ccache
        local conf_flags=(
                --disable-timestamps
                --enable-keep-symbols
                --enable-shared
                --with-optimize-option=
-               --enableoptimized
+               --enable-optimized
                --disable-assertions
                --disable-expensive-checks
                --disable-terminfo
@@ -165,12 +165,6 @@ multilib_src_configure() {
                ac_cv_prog_XML2CONFIG=""
        )
 
-       if use clang; then
-               conf_flags+=(
-                       --with-clang-resource-dir=../lib/clang/${PV}
-               )
-       fi
-
        if use libffi; then
                local CPPFLAGS=${CPPFLAGS}
                append-cppflags "$($(tc-getPKG_CONFIG) --cflags libffi)"