Skip to content

Commit

Permalink
Revert "configure: Detect AIX ar command instead of hardcoding it in …
Browse files Browse the repository at this point in the history
…the OS section"

This reverts commit 4822ee3.
AIX is a fringe oddity. Do not clutter the main codepath with AIX workarounds.
  • Loading branch information
DonDiego committed Nov 3, 2017
1 parent 9b0aff5 commit 2cf3c0a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -3434,9 +3434,6 @@ fi
if $ar 2>&1 | grep -q Microsoft; then
arflags="-nologo"
ar_o='-out:$@'
elif $ar 2>&1 | grep -q 'Usage: ar.*-X.*any'; then
arflags='-Xany -r -c'
ar_o='$@'
else
arflags="rc"
ar_o='$@'
Expand Down Expand Up @@ -3815,6 +3812,7 @@ case $target_os in
SHFLAGS=-shared
add_cppflags '-I\$(SRC_PATH)/compat/aix'
enabled shared && add_ldflags -Wl,-brtl
ar_default='ar -Xany'
;;
android)
disable symver
Expand Down

0 comments on commit 2cf3c0a

Please sign in to comment.