Skip to content
Snippets Groups Projects
Verified Commit fb22428b authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Use --static instead of -static for gcc/binutils

parent b9070490
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ function recipe_build { ...@@ -26,7 +26,7 @@ function recipe_build {
mkdir -p "$sysroot/usr" mkdir -p "$sysroot/usr"
ln -sf "$sysroot/include" "$sysroot/usr/include" ln -sf "$sysroot/include" "$sysroot/usr/include"
ln -sf "$sysroot/lib" "$sysroot/usr/lib" ln -sf "$sysroot/lib" "$sysroot/usr/lib"
export LDFLAGS="-static" export LDFLAGS="--static"
./configure \ ./configure \
--build=${BUILD} \ --build=${BUILD} \
--host=${HOST} \ --host=${HOST} \
......
...@@ -19,7 +19,7 @@ function recipe_build { ...@@ -19,7 +19,7 @@ function recipe_build {
ln -sf "$sysroot/include" "$sysroot/usr/include" ln -sf "$sysroot/include" "$sysroot/usr/include"
ln -sf "$sysroot/lib" "$sysroot/usr/lib" ln -sf "$sysroot/lib" "$sysroot/usr/lib"
export CPPFLAGS="-I$sysroot/include -pie -fPIC -g" export CPPFLAGS="-I$sysroot/include -pie -fPIC -g"
export LDFLAGS="-L$sysroot/lib -static -g" export LDFLAGS="-L$sysroot/lib --static -g"
./configure \ ./configure \
--build=${BUILD} \ --build=${BUILD} \
--host=${HOST} \ --host=${HOST} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment