filter-flags -fPIE
append-ldflags -nopie
fi
# to disable the -fPIC cflag
filter-flags -fPIC
# gcc 4.6 compatibility (bug #361069)
sed -i 's/--no-undefined/-Wl,--no-undefined/g' purgatory/Makefile || die "sed failed"