summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPeter Maydell2013-06-21 15:01:31 +0200
committerMichael Tokarev2013-06-21 20:54:24 +0200
commit464e3671f9d5c206fa9e2646c81f21ceef7cfb7d (patch)
tree3de54e979165b56344d2bba4cc757b4ef8272779 /configure
parentMakefile: pass include directives to dtc via CPPFLAGS, not CFLAGS (diff)
downloadqemu-464e3671f9d5c206fa9e2646c81f21ceef7cfb7d.tar.gz
qemu-464e3671f9d5c206fa9e2646c81f21ceef7cfb7d.tar.xz
qemu-464e3671f9d5c206fa9e2646c81f21ceef7cfb7d.zip
configure: Add signed*signed check to [u]int128_t test
clang 3.3 with -fsanitize=undefined will fail to link code containing an int128_t * int128_t multiply (http://llvm.org/bugs/show_bug.cgi?id=16404) so add this to our configure test for whether [u]int128_t are usable. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index bb126e8364..0e0adde410 100755
--- a/configure
+++ b/configure
@@ -3329,6 +3329,7 @@ __uint128_t b;
int main (void) {
a = a + b;
b = a * b;
+ a = a * a;
return 0;
}
EOF