From 840782f9aebf7e7a403883ad590343da340bfef3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 13 May 2020 07:23:08 -0400 Subject: [PATCH] travis: disable PIE in tests 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 --- travis/main.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/travis/main.sh b/travis/main.sh index 63a1856..7a7e5f4 100755 --- a/travis/main.sh +++ b/travis/main.sh @@ -41,6 +41,9 @@ main() { 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 -- 2.39.5