static libgcc
This commit is contained in:
1 parent
bdc3191617
commit
491e32f0f6
4 files changed
+4
-36
No files matched your search
@@ -12,7 +12,6 @@ md5sums=('0b82665c4a92fd2ade7440c13fcaa42b')
|
|||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
group=(dev.libs)
|
group=(dev.libs)
|
||||||
uses=(cxx)
|
uses=(cxx)
|
||||||
cxx_depends=(gcc)
|
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ group=(sys.apps)
|
|||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
export CFLAGS='-static-libgcc -static-libstdc++ -fPIC'
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libdir=/usr/lib64 \
|
--libdir=/usr/lib64 \
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
diff --git a/hook-functions b/hook-functions
|
|
||||||
index 95bd584..f18f1a8 100644
|
|
||||||
--- a/hook-functions
|
|
||||||
+++ b/hook-functions
|
|
||||||
@@ -200,7 +200,7 @@ copy_file() {
|
|
||||||
|
|
||||||
# Create a relative link so it always points
|
|
||||||
# to the right place
|
|
||||||
- ln -rs "${DESTDIR}/${link_target}" "${DESTDIR}/${target}"
|
|
||||||
+ ln -s "${link_target}" "${DESTDIR}/${target}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Copy the link target if it doesn't already exist
|
|
||||||
@@ -863,7 +863,7 @@ cache_run_scripts()
|
|
||||||
[ ! -d "${initdir}" ] && return
|
|
||||||
|
|
||||||
true > "${initdir}/ORDER"
|
|
||||||
- runlist=$(get_prereq_pairs | tsort)
|
|
||||||
+ runlist=$(get_prereq_pairs | sort)
|
|
||||||
for crs_x in ${runlist}; do
|
|
||||||
[ -f "${initdir}/${crs_x}" ] || continue
|
|
||||||
echo "${scriptdir}/${crs_x} \"\$@\"" >> "${initdir}/ORDER"
|
|
||||||
@@ -901,6 +901,6 @@ run_scripts()
|
|
||||||
initdir=${1}
|
|
||||||
[ ! -d "${initdir}" ] && return
|
|
||||||
|
|
||||||
- runlist=$(get_prereq_pairs | tsort)
|
|
||||||
+ runlist=$(get_prereq_pairs | sort)
|
|
||||||
call_scripts "$scriptdir"
|
|
||||||
}
|
|
||||||
@@ -11,15 +11,13 @@ source=("https://salsa.debian.org/kernel-team/initramfs-tools/-/archive/v$versio
|
|||||||
"patches/remove-zstd.patch"
|
"patches/remove-zstd.patch"
|
||||||
"patches/non-debian.patch"
|
"patches/non-debian.patch"
|
||||||
"patches/remove-logsave.patch"
|
"patches/remove-logsave.patch"
|
||||||
"patches/no-coreutils.patch"
|
|
||||||
"initramfs-tools.sysconf")
|
"initramfs-tools.sysconf")
|
||||||
depends=(eudev findutils)
|
depends=(eudev findutils coreutils)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('a3765010fe0fc6a71fe900a798b759ea'
|
md5sums=('a3765010fe0fc6a71fe900a798b759ea'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
|
||||||
'SKIP')
|
'SKIP')
|
||||||
uses=()
|
uses=()
|
||||||
group=(sys.kernel)
|
group=(sys.kernel)
|
||||||
@@ -30,8 +28,7 @@ cd $name-v$version
|
|||||||
prepare(){
|
prepare(){
|
||||||
patch -Np1 < ../remove-zstd.patch
|
patch -Np1 < ../remove-zstd.patch
|
||||||
patch -Np1 < ../remove-logsave.patch
|
patch -Np1 < ../remove-logsave.patch
|
||||||
patch -Np1 < ../non-debian.patch
|
patch -Np1 < ../non-debian.patch
|
||||||
patch -Np1 < ../no-coreutils.patch
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
|
|||||||
Reference in new issue
Block a user