mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 12:24:17 +08:00
Use --static instead of -static for gcc/binutils
This commit is contained in:
parent
b90704905e
commit
fb22428bb1
@ -26,7 +26,7 @@ function recipe_build {
|
||||
mkdir -p "$sysroot/usr"
|
||||
ln -sf "$sysroot/include" "$sysroot/usr/include"
|
||||
ln -sf "$sysroot/lib" "$sysroot/usr/lib"
|
||||
export LDFLAGS="-static"
|
||||
export LDFLAGS="--static"
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
|
||||
@ -19,7 +19,7 @@ function recipe_build {
|
||||
ln -sf "$sysroot/include" "$sysroot/usr/include"
|
||||
ln -sf "$sysroot/lib" "$sysroot/usr/lib"
|
||||
export CPPFLAGS="-I$sysroot/include -pie -fPIC -g"
|
||||
export LDFLAGS="-L$sysroot/lib -static -g"
|
||||
export LDFLAGS="-L$sysroot/lib --static -g"
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user