summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-10-15 17:21:07 -0400
committerRich Felker <dalias@aerifal.cx>2015-10-15 17:21:07 -0400
commit797899802d5623a6ec05663c997a30e03dc27421 (patch)
tree63f2c0828ae4599a940bc12e90ce17554eef9b02 /configure
parent92637bb0d8f13940aebd2a8116cc935c3e7d8266 (diff)
downloadmusl-797899802d5623a6ec05663c997a30e03dc27421.tar.gz
musl-797899802d5623a6ec05663c997a30e03dc27421.tar.bz2
musl-797899802d5623a6ec05663c997a30e03dc27421.tar.xz
musl-797899802d5623a6ec05663c997a30e03dc27421.zip
suppress sh assembler rejection of instructions based on isa level
we need access to all instructions in order for runtime selection of atomic model to work correctly. without this patch, some versions of gcc instruct gas to reject instructions outside the target isa level.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index d944a47f..03c0ebe0 100755
--- a/configure
+++ b/configure
@@ -556,6 +556,7 @@ test "$ARCH" = "microblaze" && trycppif __MICROBLAZEEL__ "$t" \
&& SUBARCH=${SUBARCH}el
if test "$ARCH" = "sh" ; then
+tryflag CFLAGS_AUTO -Wa,--isa=any
trycppif __BIG_ENDIAN__ "$t" && SUBARCH=${SUBARCH}eb
if trycppif "__SH_FPU_ANY__ || __SH4__" "$t" ; then
# Some sh configurations are broken and replace double with float