This is an automated email from the ASF dual-hosted git repository.

wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new a66f576  ARROW-3211: [C++] Disable gold linker with MinGW-w64
a66f576 is described below

commit a66f576f5ce4425c0a656aed890f76f1ecefc8b1
Author: Kouhei Sutou <[email protected]>
AuthorDate: Tue Sep 11 11:02:43 2018 -0400

    ARROW-3211: [C++] Disable gold linker with MinGW-w64
    
    Author: Kouhei Sutou <[email protected]>
    
    Closes #2537 from kou/cpp-mingw-gold-ld-disable and squashes the following 
commits:
    
    0b45897f0 <Kouhei Sutou>  Disable gold linker with MinGW-w64
---
 cpp/cmake_modules/SetupCxxFlags.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/cmake_modules/SetupCxxFlags.cmake 
b/cpp/cmake_modules/SetupCxxFlags.cmake
index 87714b3..748f124 100644
--- a/cpp/cmake_modules/SetupCxxFlags.cmake
+++ b/cpp/cmake_modules/SetupCxxFlags.cmake
@@ -246,7 +246,7 @@ function(GET_GOLD_VERSION)
 endfunction()
 
 # Is the compiler hard-wired to use the gold linker?
-if (NOT MSVC AND NOT APPLE)
+if (NOT WIN32 AND NOT APPLE)
   GET_GOLD_VERSION()
   if (GOLD_VERSION)
     set(MUST_USE_GOLD 1)

Reply via email to