mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
* ltconfig.in (with_gcc): Make the value of this option
available to the generated libtool script. * ltmain.in (compile_command, finalize_command): The native C and C++ compilers on IRIX require the -LANG:std in order to to compile correctly. The same options should _not_ be passed through to gcc on IRIX, or at all on other architectures for backwards compatibility (among others). Reported by Bob Freisenhahn <bfreisen@simple.dallas.tx.us> Reported by Albert Chin-A-Young <china@thewrittenword.com>
This commit is contained in:
parent
476d780ec2
commit
656d1ca824
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
||||
2000-08-27 Gary V. Vaughan <gvv@techie.com>
|
||||
|
||||
* ltconfig.in (with_gcc): Make the value of this option
|
||||
available to the generated libtool script.
|
||||
* ltmain.in (compile_command, finalize_command): The native C
|
||||
and C++ compilers on IRIX require the -LANG:std in order to to
|
||||
compile correctly. The same options should _not_ be passed
|
||||
through to gcc on IRIX, or at all on other architectures for
|
||||
backwards compatibility (among others).
|
||||
Reported by Bob Freisenhahn <bfreisen@simple.dallas.tx.us>
|
||||
Reported by Albert Chin-A-Young <china@thewrittenword.com>
|
||||
|
||||
2000-08-26 Gary V. Vaughan <gvv@techie.com>
|
||||
|
||||
* ltconfig.in (old_reload_flag): typo.
|
||||
|
@ -2698,6 +2698,9 @@ AR_FLAGS=$AR_FLAGS
|
||||
# The default C compiler.
|
||||
CC=$CC
|
||||
|
||||
# Is the compiler the GNU C compiler?
|
||||
with_gcc=$with_gcc
|
||||
|
||||
# The linker used to build libraries.
|
||||
LD=$LD
|
||||
|
||||
|
12
ltmain.in
12
ltmain.in
@ -981,6 +981,18 @@ compiler."
|
||||
continue
|
||||
;;
|
||||
|
||||
# The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
|
||||
# so, if we see these flags be careful not to treat them like -L
|
||||
-L[A-Z][A-Z]*:*)
|
||||
case $with_gcc/$host in
|
||||
no/*-*-irix*)
|
||||
compile_command="$compile_command $arg"
|
||||
finalize_command="$finalize_command $arg"
|
||||
;;
|
||||
esac
|
||||
continue
|
||||
;;
|
||||
|
||||
-L*)
|
||||
dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
|
||||
# We need an absolute path.
|
||||
|
Loading…
Reference in New Issue
Block a user