From: Albert Chin-A-Young Date: Thu, 9 Dec 2004 17:59:15 +0000 (+0000) Subject: * config/ltmain.m4sh: Preserve -model [arg] option, used X-Git-Tag: release-2-1b~822 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27c1434f7d3b8ee7ba0c17411c9efd75e6578c4b;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 514b4045e..99e6c8673 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-12-09 Albert Chin-A-Young + + * 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 * config/ltmain.m4sh (func_mode_finish) [solaris]: Fix [] escaping bug. diff --git a/config/ltmain.m4sh b/config/ltmain.m4sh index 64a8f0eb8..1e5cca601 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -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