summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-10-06 21:38:43 +0200
committerDiego Biurrun <diego@biurrun.de>2017-11-03 16:46:27 +0100
commit2cf3c0ab0d84b5cdb379059f8570809a13a306b9 (patch)
tree36f81a1e117ceb8431d314e79da8fb7f90342ebc /configure
parent9b0aff51a7ae03215c4e1a3e7220fdbcfb858b08 (diff)
Revert "configure: Detect AIX ar command instead of hardcoding it in the OS section"
This reverts commit 4822ee3ca620a92cd2b0a9a03ea9e34288192c79. AIX is a fringe oddity. Do not clutter the main codepath with AIX workarounds.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure b/configure
index 6445976175..6f96a06f03 100755
--- a/configure
+++ b/configure
@@ -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