[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Pass -G to IBM C/C++ compiler, not -Wl,-G
From: |
Albert Chin |
Subject: |
Pass -G to IBM C/C++ compiler, not -Wl,-G |
Date: |
Mon, 13 Dec 2004 02:00:04 -0600 |
User-agent: |
Mutt/1.5.6i |
The IBM C/C++ compilers grok -G.
--
albert chin (address@hidden)
-- snip snip
2004-12-13 Albert Chin-A-Young <address@hidden>
* libtool.m4: The IBM C/C++ compilers grok -G.
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.52
diff -u -3 -p -r1.314.2.52 libtool.m4
--- libtool.m4 24 Nov 2004 17:22:03 -0000 1.314.2.52
+++ libtool.m4 13 Dec 2004 07:55:52 -0000
@@ -2805,7 +2808,7 @@ case $host_os in
shared_flag='-G'
else
if test "$aix_use_runtimelinking" = yes; then
- shared_flag='${wl}-G'
+ shared_flag='-G'
else
shared_flag='${wl}-bM:SRE'
fi
@@ -5386,11 +5392,11 @@ $echo "local: *; };" >> $output_objdir/$
# chokes on -Wl,-G. The following line is correct:
shared_flag='-G'
else
- if test "$aix_use_runtimelinking" = yes; then
- shared_flag='${wl}-G'
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-G'
else
shared_flag='${wl}-bM:SRE'
- fi
+ fi
fi
fi
- Pass -G to IBM C/C++ compiler, not -Wl,-G,
Albert Chin <=