[PATCH] build: Fix "--no-undefined" linker's flag for solaris

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

 



From: Andrew Stormont <andyjstormont@xxxxxxxxx>

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1302339
Acked-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index f7ecb8f..e4850c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,6 +101,10 @@ case "$host" in
     NO_UNDEFINED_LDFLAGS="-Wl,-undefined,error"
     ;;
 
+  *-*-solaris*)
+    NO_UNDEFINED_LDFLAGS="-zdefs"
+    ;;
+
   *)
     NO_UNDEFINED_FLAGS="-Wl,--no-undefined"
     VERSION_SCRIPT_FLAGS=-Wl,--version-script=
-- 
2.7.4

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux