aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-01-12 15:47:47 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-01-12 15:47:47 +0000
commit2e67d7f4daa6b60e514753be3118fff268962f28 (patch)
tree27c2fac19c3e76b5e5809754bc440530a2a332cc
parent0d18511589858231b7b3df798895ed2f2b4f4128 (diff)
downloadmandoc-2e67d7f4daa6b60e514753be3118fff268962f28.tar.gz
mandoc-2e67d7f4daa6b60e514753be3118fff268962f28.tar.zst
mandoc-2e67d7f4daa6b60e514753be3118fff268962f28.zip
merge rev. 1.55: gcc 6 fix from Alpine Linux
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 9fd7456e..7f6a6123 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Id: configure,v 1.43.2.7 2016/10/20 19:34:18 schwarze Exp $
+# $Id: configure,v 1.43.2.8 2017/01/12 15:47:47 schwarze Exp $
#
# Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
#
@@ -147,10 +147,10 @@ ismanual() {
singletest() {
cat 1>&3 << __HEREDOC__
${1}${3}: testing...
-${COMP} ${3} -o test-${1} test-${1}.c
+${COMP} -o test-${1} test-${1}.c ${3}
__HEREDOC__
- if ${COMP} ${3} -o "test-${1}" "test-${1}.c" 1>&3 2>&3; then
+ if ${COMP} -o "test-${1}" "test-${1}.c" ${3} 1>&3 2>&3; then
echo "${1}${3}: ${CC} succeeded" 1>&3
else
echo "${1}${3}: ${CC} failed with $?" 1>&3