]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.m4sh: Preserve -model [arg] option, used
authorAlbert Chin-A-Young <china@thewrittenword.com>
Thu, 9 Dec 2004 17:59:39 +0000 (17:59 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 9 Dec 2004 17:59:39 +0000 (17:59 +0000)
with the Tru64 UNIX C++ compiler. This option selects the
layout of C++ classes, name mangling, and exception handling.

ChangeLog
config/ltmain.m4sh

index 1fdef2c5865fbf58d5e88507588a9ce5fb6da1d1..4915d669ce7ff47bc0dda65fff8c5dd2375ed645 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 8bcb443cba84226206c4f026a64f4e1daa905244..1341a13fc0e68407e808e8490c3a02ba2bcb21be 100644 (file)
@@ -2609,6 +2609,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