From 6efdd3d04812610b609a5ee9766ace5288969227 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 12 Jan 2017 15:45:05 +0000 Subject: Put compiler arguments that may contain -l at the end; according to the people at Alpine Linux, gcc 6 seems to fail when it's at the beginning. From Daniel Sabogal via http://git.alpinelinux.org. --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index adf9eb48..1b810158 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: configure,v 1.54 2016/11/19 15:24:51 schwarze Exp $ +# $Id: configure,v 1.55 2017/01/12 15:45:05 schwarze Exp $ # # Copyright (c) 2014, 2015, 2016 Ingo Schwarze # @@ -145,10 +145,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 -- cgit v1.2.3-56-ge451