Addons fix
authorVyacheslav Barinov <v.barinov@samsung.com>
Tue, 9 Sep 2014 06:27:34 +0000 (10:27 +0400)
committerChanho Park <chanho61.park@samsung.com>
Tue, 10 Feb 2015 08:54:43 +0000 (17:54 +0900)
nptl is not an add-on for x86 - it's an integral glibc part
ports is not an addon for arm and aarch64

https://sourceware.org/glibc/wiki/Release/2.20

Change-Id: If1e460650ed6c349dd594109e0fd37306bc59c9f
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
packaging/glibc.spec

index 64afed8..530df92 100644 (file)
@@ -257,7 +257,7 @@ BuildFlags="$BuildFlags -g"
        add_ons=$add_ons
 %endif
 %ifarch %arm aarch64
-       add_ons=$add_ons,ports
+       add_ons=$add_ons
 %endif
 %ifarch mipsel
        # fails to build otherwise - need to recheck and fix
@@ -289,7 +289,7 @@ configure_and_build_glibc() {
         CC="$BuildCC" CXX="$BuildCCplus"  ../configure \
                --prefix=%{_prefix} \
                --libexecdir=%{_libexecdir} --infodir=%{_infodir} \
-               --enable-add-ons=nptl$addons \
+               --enable-add-ons=$addons \
                $profile \
                "$@" \
 %if %{enable_stackguard_randomization}