X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=scripts%2Fgcc-goto.sh;h=8b980fb2270a3be231588a7365bdc904755a5bbd;hb=9a1d6c9e3f53732f2f48f4424e028642db616663;hp=083c526073ef9a8d04a1e17875b7498556767c37;hpb=ca797d29cd63e7b71b4eea29aff3b1cefd1ecb59;p=mirror_ubuntu-jammy-kernel.git diff --git a/scripts/gcc-goto.sh b/scripts/gcc-goto.sh index 083c526073ef..8b980fb2270a 100755 --- a/scripts/gcc-goto.sh +++ b/scripts/gcc-goto.sh @@ -3,7 +3,7 @@ # Test for gcc 'asm goto' support # Copyright (C) 2010, Jason Baron -cat << "END" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y" +cat << "END" | $@ -x c - -fno-PIE -c -o /dev/null int main(void) { #if defined(__arm__) || defined(__aarch64__)