File tree Expand file tree Collapse file tree 3 files changed +18
-7
lines changed Expand file tree Collapse file tree 3 files changed +18
-7
lines changed Original file line number Diff line number Diff line change
1
+ ``configure `` no longer sets ``MULTIARCH `` on FreeBSD platforms.
Original file line number Diff line number Diff line change @@ -6091,9 +6091,15 @@ $as_echo "none" >&6; }
6091
6091
fi
6092
6092
rm -f conftest.c conftest.out
6093
6093
6094
- if test x$PLATFORM_TRIPLET != xdarwin; then
6095
- MULTIARCH=$($CC --print-multiarch 2>/dev/null)
6096
- fi
6094
+ case $ac_sys_system in #(
6095
+ Darwin*) :
6096
+ MULTIARCH="" ;; #(
6097
+ FreeBSD*) :
6098
+ MULTIARCH="" ;; #(
6099
+ *) :
6100
+ MULTIARCH=$($CC --print-multiarch 2>/dev/null)
6101
+ ;;
6102
+ esac
6097
6103
6098
6104
6099
6105
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
@@ -6104,6 +6110,7 @@ elif test x$PLATFORM_TRIPLET != x && test x$MULTIARCH = x; then
6104
6110
MULTIARCH=$PLATFORM_TRIPLET
6105
6111
fi
6106
6112
6113
+
6107
6114
if test x$MULTIARCH != x; then
6108
6115
MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
6109
6116
fi
Original file line number Diff line number Diff line change @@ -987,10 +987,12 @@ else
987
987
fi
988
988
rm -f conftest.c conftest.out
989
989
990
- if test x$PLATFORM_TRIPLET != xdarwin; then
991
- MULTIARCH=$($CC --print-multiarch 2>/dev/null)
992
- fi
993
- AC_SUBST ( MULTIARCH )
990
+ AS_CASE ( [ $ac_sys_system] ,
991
+ [ Darwin*] , [ MULTIARCH=""] ,
992
+ [ FreeBSD*] , [ MULTIARCH=""] ,
993
+ [ MULTIARCH=$($CC --print-multiarch 2>/dev/null)]
994
+ )
995
+ AC_SUBST ( [ MULTIARCH] )
994
996
995
997
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
996
998
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
@@ -1000,6 +1002,7 @@ elif test x$PLATFORM_TRIPLET != x && test x$MULTIARCH = x; then
1000
1002
MULTIARCH=$PLATFORM_TRIPLET
1001
1003
fi
1002
1004
AC_SUBST ( PLATFORM_TRIPLET )
1005
+
1003
1006
if test x$MULTIARCH != x; then
1004
1007
MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
1005
1008
fi
You can’t perform that action at this time.
0 commit comments