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

Merge branch 'more-pie' into 'master'

Compile gnu-binutils with pie so it works on Redox

See merge request !245
parents 10d3e239 01896e5f
No related branches found
No related tags found
1 merge request!245Compile gnu-binutils with pie so it works on Redox
......@@ -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} \
......
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