From: Debian Haskell Group Date: Fri, 30 Dec 2016 02:30:41 +0000 (+0000) Subject: x32-use-native-x86_64-insn X-Git-Tag: archive/raspbian/8.0.2-9+rpi1~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c1b8fa0cfa7d316eab9e85ba5f531ac0415701fb;p=ghc.git x32-use-native-x86_64-insn Gbp-Pq: Name x32-use-native-x86_64-insn.patch --- diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c index 3e82cdff..f6e30e8b 100644 --- a/rts/RtsSymbols.c +++ b/rts/RtsSymbols.c @@ -737,7 +737,7 @@ // 64-bit support functions in libgcc.a -#if defined(__GNUC__) && SIZEOF_VOID_P <= 4 && !defined(_ABIN32) +#if defined(__GNUC__) && SIZEOF_VOID_P <= 4 && !defined(_ABIN32) && !(defined(__x86_64__) && defined(__ILP32__)) #define RTS_LIBGCC_SYMBOLS \ SymI_NeedsProto(__divdi3) \ SymI_NeedsProto(__udivdi3) \