21 Oct
2021
21 Oct
'21
5:12 a.m.
Signed-off-by: Brendan Shanks <bshanks(a)codeweavers.com> --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3f1d50a4dfc..61e772b21b1 100644 --- a/configure.ac +++ b/configure.ac @@ -257,7 +257,11 @@ else fi if test -n "$host_alias" -a "$host_alias" != "$build_alias" then - TARGETFLAGS="-b $host_alias $TARGETFLAGS" + case "$CC" in + *$host_alias*) + TARGETFLAGS="-b $host_alias $TARGETFLAGS" + ;; + esac fi dnl Check for flex -- 2.30.1 (Apple Git-130)