mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Fix build error on AIX 64-bit (#428)
This commit adds a wrapper for the AIX ar command that uses the -X64 flag to avoid build errors on that platform. Resolves: https://github.com/ksh93/ksh/issues/385
This commit is contained in:
parent
0310ce08ea
commit
fb8e239cb4
2 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
: stupid stupid stupid to require a non-standard option for ar to work : 2009-10-06 :
|
: ar requires a non-standard option to work : 2009-10-06 :
|
||||||
|
|
||||||
op=$1
|
op=$1
|
||||||
shift
|
shift
|
||||||
|
|
9
src/cmd/INIT/ar.ibm.risc-64
Executable file
9
src/cmd/INIT/ar.ibm.risc-64
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
: ar requires a non-standard option to work : 2022-01-14 :
|
||||||
|
|
||||||
|
op=$1
|
||||||
|
shift
|
||||||
|
case $op in
|
||||||
|
-*) ;;
|
||||||
|
*) op=-$op ;;
|
||||||
|
esac
|
||||||
|
/usr/bin/ar -X64 "$op" "$@"
|
Loading…
Reference in a new issue