From d60e6f39270739b025e57c60cdf5a8a63141f82e Mon Sep 17 00:00:00 2001 From: Debian Haskell Group Date: Sun, 8 Apr 2018 21:24:00 +0100 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 7db5a27c..e74b1867 100644 --- a/rts/RtsSymbols.c +++ b/rts/RtsSymbols.c @@ -917,7 +917,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