summaryrefslogtreecommitdiffstats
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
commit7470dd22d80684f303879fa201931c1cb73b8a99 (patch)
tree56a034592a70e694ca76b51c50816fac15bdbec3
parentd758c361e2fa867a65a84c863578c7e06ddeb505 (diff)
downloadmandoc-7470dd22d80684f303879fa201931c1cb73b8a99.tar.gz
merge rev. 1.55: gcc 6 fix from Alpine Linux
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 6cf46b19..b6b719b5 100755
--- a/configure
+++ b/configure
@@ -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