[haiku-commits] r34726 - haiku/trunk/build/jam

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 20 Dec 2009 17:46:27 +0100 (CET)

Author: bonefish
Date: 2009-12-20 17:46:27 +0100 (Sun, 20 Dec 2009)
New Revision: 34726
Changeset: http://dev.haiku-os.org/changeset/34726/haiku

Modified:
   haiku/trunk/build/jam/BuildSetup
Log:
Patch by Andreas F?\195?\131?\194?\164rber: Fix mixup of GNU and Sun linker on 
OpenSolaris.


Modified: haiku/trunk/build/jam/BuildSetup
===================================================================
--- haiku/trunk/build/jam/BuildSetup    2009-12-20 16:20:58 UTC (rev 34725)
+++ haiku/trunk/build/jam/BuildSetup    2009-12-20 16:46:27 UTC (rev 34726)
@@ -516,6 +516,12 @@
        }
 }
 
+# TODO: Temporary work-around for mixup of GNU and Sun linker on OpenSolaris.
+# Should be moved to configure.
+if $(HOST_PLATFORM) = sunos && $(HOST_LD) = ld {
+       HOST_LD = /usr/ccs/bin/ld ;
+}
+
 if $(HOST_PLATFORM) = cygwin {
        HOST_LINKFLAGS += -Xlinker --allow-multiple-definition -Xlinker
                --enable-auto-import ;


Other related posts:

  • » [haiku-commits] r34726 - haiku/trunk/build/jam - ingo_weinhold