Verified Commit 01896e5f authored by jD91mZM2's avatar jD91mZM2

Compile gnu-binutils with pie so it works on Redox

Because our dynamic linker still doesn't support global offset tables
and those difficult stuffs
parent 10d3e239
......@@ -18,7 +18,7 @@ function recipe_build {
mkdir -p "$sysroot/usr"
ln -sf "$sysroot/include" "$sysroot/usr/include"
ln -sf "$sysroot/lib" "$sysroot/usr/lib"
export CPPFLAGS="-I$sysroot/include -g"
export CPPFLAGS="-I$sysroot/include -pie -fPIC -g"
export LDFLAGS="-L$sysroot/lib -static -g"
./configure \
--build=${BUILD} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment