Commit 2cf3c0ab authored by Diego Biurrun's avatar Diego Biurrun

Revert "configure: Detect AIX ar command instead of hardcoding it in the OS section"

This reverts commit 4822ee3c.
AIX is a fringe oddity. Do not clutter the main codepath with AIX workarounds.
parent 9b0aff51
......@@ -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='$@'
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment