* config/ltmain.m4sh: Preserve -model [arg] option, used

with the Tru64 UNIX C++ compiler. This option selects the
layout of C++ classes, name mangling, and exception handling.
This commit is contained in:
Albert Chin-A-Young 2004-12-09 17:59:15 +00:00 committed by Ralf Wildenhues
parent d1a251240e
commit 27c1434f7d
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-12-09 Albert Chin-A-Young <china@thewrittenword.com>
* config/ltmain.m4sh: Preserve -model [arg] option, used
with the Tru64 UNIX C++ compiler. This option selects the
layout of C++ classes, name mangling, and exception handling.
2004-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/ltmain.m4sh (func_mode_finish) [solaris]: Fix [] escaping bug.

View File

@ -2632,6 +2632,16 @@ func_mode_link ()
continue
;;
# Tru64 UNIX uses -model [arg] to determine the layout of C++
# classes, name mangling, and exception handling.
-model)
compile_command="$compile_command $arg"
compiler_flags="$compiler_flags $arg"
finalize_command="$finalize_command $arg"
prev=xcompiler
continue
;;
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
deplibs="$deplibs $arg"
continue