lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 94ec0fa 3/4: Don't use disable-auto-import li


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 94ec0fa 3/4: Don't use disable-auto-import linker flag for the native Linux build
Date: Sun, 18 Oct 2020 12:02:31 -0400 (EDT)

branch: master
commit 94ec0fa02939abc567c86c02c93602b24142caa0
Author: Ilya Sinitsyn <isinitsyn@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Don't use disable-auto-import linker flag for the native Linux build
---
 workhorse.make | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/workhorse.make b/workhorse.make
index 8597d25..9b372f5 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -826,7 +826,9 @@ ifeq (3.4.5,$(gcc_version))
 endif
 
 ifneq (,$(USE_SO_ATTRIBUTES))
-  LDFLAGS += -Wl,--disable-auto-import -static-libstdc++
+  ifeq (mingw32,$(findstring mingw32,$(LMI_TRIPLET)))
+    LDFLAGS += -Wl,--disable-auto-import -static-libstdc++
+  endif
   actually_used_lmi_so_attributes = -DLMI_USE_SO_ATTRIBUTES 
$(lmi_so_attributes)
 endif
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]