ltmain.in: Fix handling xlc(1)-specific options

Patch supplied on Savannah by user, whr:
  https://savannah.gnu.org/patch/index.php?10126
This commit is contained in:
Ileana Dumitrescu 2024-11-19 20:58:01 +02:00
parent bbc5fa9456
commit 1a9f976d1c
No known key found for this signature in database
GPG Key ID: 6570EA01146F7354

View File

@ -5327,7 +5327,8 @@ func_mode_link ()
# Tru64 UNIX uses -model [arg] to determine the layout of C++
# classes, name mangling, and exception handling.
# Darwin uses the -arch flag to determine output architecture.
-model|-arch|-isysroot|--sysroot)
# -q <option> for IBM XL C/C++ compiler.
-model|-arch|-isysroot|--sysroot|-q)
func_append compiler_flags " $arg"
func_append compile_command " $arg"
func_append finalize_command " $arg"