libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 08/10] Support -Zxxx options used on OS/2


From: KO Myung-Hun
Subject: [PATCH 08/10] Support -Zxxx options used on OS/2
Date: Fri, 15 Apr 2011 21:59:21 +0900

---
 libltdl/config/ltmain.m4sh |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 03a4add..3619343 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -5083,6 +5083,17 @@ func_mode_link ()
         continue
         ;;
 
+      # OS/2 uses -Zxxx to specify OS/2-specific options
+      -Z*)
+       compiler_flags="$compiler_flags $arg"
+       func_append compile_command " $arg"
+       func_append finalize_command " $arg"
+       case $arg in
+       -Zlinker | -Zstack) prev=xcompiler;;
+       esac
+       continue
+       ;;
+
       # Some other compiler flag.
       -* | +*)
         func_quote_for_eval "$arg"
-- 
1.7.3.2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]