[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/10] libtool: support -Zxxx options used on OS/2
From: |
KO Myung-Hun |
Subject: |
[PATCH 06/10] libtool: support -Zxxx options used on OS/2 |
Date: |
Sun, 12 Oct 2014 17:33:51 +0900 |
* build-aux/ltmain.in (fund_mode_link): Add -Z* case.
---
build-aux/ltmain.in | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index ed92684..5829cf2 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5327,6 +5327,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
- [PATCH] OS/2 patches, retry, KO Myung-Hun, 2014/10/12
- [PATCH 01/10] libtool: don't eliminate duplications in $postdeps and $predeps on OS/2, KO Myung-Hun, 2014/10/12
- [PATCH 03/10] ltdl: OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows, KO Myung-Hun, 2014/10/12
- [PATCH 04/10] libtool: there is no need to relink DLLs on OS/2, KO Myung-Hun, 2014/10/12
- [PATCH 02/10] libtool: set lt_prog_compiler_static to -Bstatic on OS/2, KO Myung-Hun, 2014/10/12
- [PATCH 06/10] libtool: support -Zxxx options used on OS/2,
KO Myung-Hun <=
- [PATCH 05/10] libtool: set lt_cv_deplibs_check_method to pass_all on OS/2, KO Myung-Hun, 2014/10/12
- [PATCH 07/10] libtool: fix DLL creation/installation/uninstallation on OS/2, KO Myung-Hun, 2014/10/12
- [PATCH 08/10] libtool: add -os2dllname option, KO Myung-Hun, 2014/10/12
- [PATCH 10/10] libtool: support versioning on OS/2, KO Myung-Hun, 2014/10/12
- [PATCH 09/10] libtool: support -export-symbols and -export-symbols-regex on OS/2, KO Myung-Hun, 2014/10/12