@@ -100,18 +100,21 @@ EOF
100
100
else
101
101
patch -p1 << "EOF "
102
102
diff --git a/configure b/configure
103
- index 7cad0e2f98..50212236c4 100755
103
+ index c091865aff..0aeea8cedb 100755
104
104
--- a/configure
105
105
+++ b/configure
106
- @@ -5196,7 +5196 ,7 @@ $as_echo "$as_me:
106
+ @@ -5318,10 +5318 ,7 @@ $as_echo "none" >&6; }
107
107
fi
108
+ rm -f conftest.c conftest.out
108
109
109
-
110
- -MULTIARCH=$($CC --print-multiarch 2>/dev/null)
110
+ -if test x$PLATFORM_TRIPLET != xdarwin; then
111
+ - MULTIARCH=$($CC --print-multiarch 2>/dev/null)
112
+ -fi
113
+ -
111
114
+MULTIARCH=
112
115
113
-
114
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5
116
+ if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
117
+ if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
115
118
EOF
116
119
fi
117
120
fi
@@ -398,18 +401,21 @@ EOF
398
401
else
399
402
patch -p1 << "EOF "
400
403
diff --git a/configure b/configure
401
- index 7cad0e2f98..50212236c4 100755
404
+ index c091865aff..0aeea8cedb 100755
402
405
--- a/configure
403
406
+++ b/configure
404
- @@ -5196,7 +5196 ,7 @@ $as_echo "$as_me:
407
+ @@ -5318,10 +5318 ,7 @@ $as_echo "none" >&6; }
405
408
fi
406
-
407
-
408
- -MULTIARCH=$($CC --print-multiarch 2>/dev/null)
409
+ rm -f conftest.c conftest.out
410
+
411
+ -if test x$PLATFORM_TRIPLET != xdarwin; then
412
+ - MULTIARCH=$($CC --print-multiarch 2>/dev/null)
413
+ -fi
414
+ -
409
415
+MULTIARCH=
410
-
411
-
412
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5
416
+
417
+ if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
418
+ if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
413
419
EOF
414
420
fi
415
421
fi
0 commit comments