diff --git a/ChangeLog b/ChangeLog index 514b4045..99e6c867 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 64a8f0eb..1e5cca60 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