Since all current prebuilt binutils libs are built w/out PIC/PIE,
disable PIE usage in tests. Newer toolchains are defaulting this
to on which breaks us.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
git clone --depth=1 https://github.com/uclinux-dev/prebuilts-binutils-libs ../prebuilts-binutils-libs
fi
+ # Newer compilers default to PIE which the prebuilts aren't using.
+ export CFLAGS='-O2 -pipe -no-pie'
+
local a b
for a in "${ARCHES[@]}" ; do
for b in "${BINUTILS_VERS[@]}" ; do