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

ChangeLog
ltmain.in

index 6aa8800619acae6a97c4bcd9f99caa106da8d200..b29007a0807ab1051529355ff728911dde9ce392 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-12-09  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * ltmain.in: 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-01   Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
        * ltmain.in (func_mode_link): Fix quoting bug in last checkin.
index 275c635735eae427fb70f67e7326c88f360b31d0..328e8c52477b4718039dbcb5f9f09798c2e98d0d 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1487,6 +1487,16 @@ EOF
        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