]> 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:15 +0000 (17:59 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 9 Dec 2004 17:59:15 +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 514b4045e52a100d5cc9c25733e8e1c375238fa2..99e6c86735ed6117c869f946094047fccbe940c7 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 64a8f0eb85590ff2a8cca825403d92ebbb46f6e8..1e5cca601950dbe6eab23b72e1551945b04f47e1 100644 (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