muparser: new recipe/patch file (#1349)

This commit is contained in:
Schrijvers Luc
2017-05-22 08:37:22 +02:00
committed by Jérôme Duval
parent 975c11a6ff
commit e12730f240
2 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
From 6026d6149088809c41bac1702a96d739c80a9564 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Wed, 17 May 2017 17:57:23 +0200
Subject: fix -nostart issue for gcc5
diff --git a/configure b/configure
index 1a16abd..c7da732 100755
--- a/configure
+++ b/configure
@@ -6075,6 +6075,11 @@ fi
SHARED_LD_CXX="${LD} -nostart -o"
;;
+ *-*-haiku* )
+ SHARED_LD_CC="${CC} -shared -o"
+ SHARED_LD_CXX="${CXX} -shared -o"
+ ;;
+
*-*-irix* )
if test "x$GCC" != "xyes"; then
PIC_FLAG="-KPIC"
--
2.7.0