From a84dec4c971064b2a9151e11a708afa2f42151f9 Mon Sep 17 00:00:00 2001 From: Debian Haskell Group Date: Fri, 30 Nov 2018 10:11:18 +0000 Subject: [PATCH] x32-use-native-x86_64-insn Gbp-Pq: Name x32-use-native-x86_64-insn.patch --- rts/RtsSymbols.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c index 2ea6713e..557766ea 100644 --- a/rts/RtsSymbols.c +++ b/rts/RtsSymbols.c @@ -919,7 +919,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) \ -- 2.30.2