Update package version to 2.41
This commit is contained in:
@@ -20,7 +20,7 @@ build() {
|
||||
echo "rootsbindir=/usr/sbin" > configparms
|
||||
../configure --prefix=/usr \
|
||||
--disable-werror \
|
||||
--enable-kernel=4.19 \
|
||||
--enable-kernel=5.4 \
|
||||
--enable-stack-protector=strong \
|
||||
--disable-nscd \
|
||||
libc_cv_slibdir=/usr/lib
|
||||
@@ -31,6 +31,10 @@ build() {
|
||||
# The check function is executed in the source directory
|
||||
# This function is used to run tests to verify the package has been compiled correctly
|
||||
check() {
|
||||
# disable tests that take too long on most systems
|
||||
sed -i "/tst-thread-affinity-pthread/d" nptl/Makefile
|
||||
sed -i "/tst-thread-affinity-sched/d" nptl/Makefile
|
||||
|
||||
cd build
|
||||
make check
|
||||
}
|
||||
@@ -54,4 +58,8 @@ package() {
|
||||
ln -sf ../lib/ld-linux-x86-64.so.2 "$BPM_OUTPUT"/lib64
|
||||
ln -sf ../lib/ld-linux-x86-64.so.2 "$BPM_OUTPUT"/lib64/ld-lsb-x86_64.so.3
|
||||
chmod +x "$BPM_OUTPUT"/usr/bin/locale-gen
|
||||
|
||||
install -Dm644 "$BPM_SOURCE"/LICENSES "$BPM_OUTPUT"/usr/share/licenses/glibc/LICENSES
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/glibc/COPYING
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/glibc/COPYING.LIB
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user