Turn of stripping of static archives
Reimplement the auto keyword for depends. It's now used slightly differently, where before it would create an explicit depend on sw.base it can create a depend on any internal subsystem In depends you can now put: sw.base sw.lib auto And you sw.base will automatically depend on the explicit version of sw.lib
This commit is contained in:
parent
d070a548a4
commit
4d0d979899
@ -30,12 +30,13 @@ gzman=1
|
|||||||
|
|
||||||
# strip?
|
# strip?
|
||||||
dostrip=1
|
dostrip=1
|
||||||
|
dostrip_static=0 # Atleast std. Irix strip seems to mangle archives if strip -f is used
|
||||||
|
|
||||||
# Setup default args for strip. They match /usr/bin/strip in Irix 6.2
|
# Setup default args for strip. They match /usr/bin/strip in Irix 6.2
|
||||||
# Change these if you're using strip from GNU Binutils (recommended)
|
# Change these if you're using strip from GNU Binutils (recommended)
|
||||||
strip_elf_args="" # GNU default is -g
|
strip_elf_args="" # GNU default is -g
|
||||||
strip_shared_args="-f" # GNU default is --strip-unneeded
|
strip_shared_args="-f" # GNU default is --strip-unneeded
|
||||||
strip_static_args="" # GNU default is -g
|
strip_static_args="-f" # GNU default is -g
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
usedepend=1 # Don't use depend file even if it's available
|
usedepend=1 # Don't use depend file even if it's available
|
||||||
@ -362,12 +363,14 @@ fetch_depends()
|
|||||||
{
|
{
|
||||||
if [ -r $depends ]; then
|
if [ -r $depends ]; then
|
||||||
reqidx=0
|
reqidx=0
|
||||||
while read ss req
|
while read ss reqpkg reqvers
|
||||||
do
|
do
|
||||||
reqs[$reqidx]=$ss
|
reqs[$reqidx]=$ss
|
||||||
if [ "$req" == "auto" ]; then # auto create depend on sw.base
|
if [ "$reqvers" == "auto" ]; then # auto create depend on $reqpkg (assumed internal)
|
||||||
nver=$(fix_ver "$version-$pkgver")
|
nver=$(fix_ver "$version-$pkgver")
|
||||||
req="$pkgname.sw.base $nver $nver"
|
req="$pkgname.$reqpkg $nver $nver"
|
||||||
|
else
|
||||||
|
req="$reqpkg $reqvers"
|
||||||
fi
|
fi
|
||||||
reqp[$reqidx]=$req
|
reqp[$reqidx]=$req
|
||||||
let "reqidx = $reqidx + 1"
|
let "reqidx = $reqidx + 1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user