From 95659bb0972c586e1f09b76695bcbc1ae08d33dd Mon Sep 17 00:00:00 2001 From: Albert Chin-A-Young Date: Thu, 9 Dec 2004 18:00:47 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ ltmain.in | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6aa880061..b29007a08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-12-09 Albert Chin-A-Young + + * 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 * ltmain.in (func_mode_link): Fix quoting bug in last checkin. diff --git a/ltmain.in b/ltmain.in index 275c63573..328e8c524 100644 --- 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 -- 2.47.3