summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix41.h
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1995-12-21 19:39:34 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1995-12-21 19:39:34 +0000
commit8271c204ce95862d13f81ffe81c4467d6654c3d5 (patch)
treed7ecf8ec201dee743d8ad67018b8466652a480ec /gcc/config/rs6000/aix41.h
parentff22256006ab50edd22c950739609616ca4521a0 (diff)
downloadgcc-8271c204ce95862d13f81ffe81c4467d6654c3d5.tar.gz
If -shared, do not export libg.exp
From-SVN: r10826
Diffstat (limited to 'gcc/config/rs6000/aix41.h')
-rw-r--r--gcc/config/rs6000/aix41.h2
1 files changed, 1 insertions, 1 deletions
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\