Skip to content

Commit

Permalink
Merge branch 'jb47986' into 'master'
Browse files Browse the repository at this point in the history
[glibc] Remove hardcoded libdir for aarch64. Contributes to JB#47986

See merge request mer-core/glibc!33
  • Loading branch information
xfade committed Jan 2, 2020
2 parents a4b4c96 + ef24c33 commit 6cf4f52
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions glibc.spec
Expand Up @@ -288,11 +288,9 @@ build()
%if %{with bootstrap}
--without-selinux \
%endif
libc_cv_slibdir=/lib ||
||
{ cat config.log; false; }

# Note: We need /lib instead of /lib64 for aarch64, so we force it here

make %{?_smp_mflags} -O -r CFLAGS="$build_CFLAGS"
popd
}
Expand Down Expand Up @@ -918,7 +916,7 @@ cat master.filelist | grep '/libnss_[a-z]*\.so$' master.filelist >> devel.fileli
# remove nss db Makefile
rm %{glibc_sysroot}/var/db/Makefile
# remove libnsl
rm %{glibc_sysroot}/lib/libnsl*
rm %{glibc_sysroot}/%{_lib}/libnsl*

##############################################################################
# Delete files that we do not intended to ship with the auxarch.
Expand Down

0 comments on commit 6cf4f52

Please sign in to comment.