X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=configure;h=9b06d2b43a43f5ec819f283a4ea4df209ab85d2f;hp=93518a7dcc03b1ef39ba501ab696bec88091c8d6;hb=adefe830dd376be386df5650a09c313c483adf1a;hpb=2c1cd2399a237db968a521cdaef3d47a3fb2c2e9 diff --git a/configure b/configure index 93518a7d..9b06d2b4 100755 --- a/configure +++ b/configure @@ -202,6 +202,7 @@ arm*) ARCH=arm ;; i?86*) ARCH=i386 ;; x86_64*) ARCH=x86_64 ;; mips-*|mipsel-*) ARCH=mips ;; +microblaze-*) ARCH=microblaze ;; unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;; *) fail "$0: unknown or unsupported target \"$target\"" ;; esac @@ -246,6 +247,13 @@ fi tryflag CFLAGS_AUTO -fno-unwind-tables tryflag CFLAGS_AUTO -fno-asynchronous-unwind-tables +# +# The GNU toolchain defaults to assuming unmarked files need an +# executable stack, potentially exposing vulnerabilities in programs +# linked with such object files. Fix this. +# +tryflag CFLAGS_AUTO -Wa,--noexecstack + # # Some optimization levels add bloated alignment that hurt performance #