From 8271c204ce95862d13f81ffe81c4467d6654c3d5 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Thu, 21 Dec 1995 19:39:34 +0000 Subject: [PATCH] If -shared, do not export libg.exp From-SVN: r10826 --- gcc/config/rs6000/aix41.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rs6000/aix41.h b/gcc/config/rs6000/aix41.h index acb19f6fb44..1b7f6b0a7ef 100644 --- a/gcc/config/rs6000/aix41.h +++ b/gcc/config/rs6000/aix41.h @@ -117,7 +117,7 @@ Boston, MA 02111-1307, USA. */ #undef LINK_SPEC #ifndef CROSS_COMPILE #define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\ - %{static:-bnso -bI:/lib/syscalls.exp} %{g*:-bexport:/usr/lib/libg.exp}\ + %{static:-bnso -bI:/lib/syscalls.exp} %{!shared: %{g*:-bexport:/usr/lib/libg.exp}}\ %{shared:-bM:SRE}" #else #define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\ -- 2.30.2