aboutsummaryrefslogtreecommitdiffstats
path: root/main/mdocml/gcc6-fix.patch
blob: 01d5b2088a930ef5a685cbd176d30069be4e6261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- mdocml-1.13.4/configure.orig
+++ mdocml-1.13.4/configure
@@ -139,10 +139,10 @@
 singletest() {
 	cat 1>&3 << __HEREDOC__
 ${1}: 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}: ${CC} succeeded" 1>&3
 	else
 		echo "${1}: ${CC} failed with $?" 1>&3