mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 818092 - Properly use CC/CXX from mozconfig on non-cross-compile Mac builds. r=ted
This commit is contained in:
parent
decb7e3186
commit
097fa29aa1
@ -35,8 +35,12 @@ case "$target" in
|
||||
;;
|
||||
*-darwin*)
|
||||
# GCC on darwin is based on gcc 4.2 and we don't support it anymore.
|
||||
MOZ_PATH_PROGS(CC, $CC clang)
|
||||
MOZ_PATH_PROGS(CXX, $CXX clang++)
|
||||
if test -z "$CC"; then
|
||||
MOZ_PATH_PROGS(CC, clang)
|
||||
fi
|
||||
if test -z "$CXX"; then
|
||||
MOZ_PATH_PROGS(CXX, clang++)
|
||||
fi
|
||||
IS_GCC=$($CC -v 2>&1 | grep gcc)
|
||||
if test -n "$IS_GCC"
|
||||
then
|
||||
|
@ -35,8 +35,12 @@ case "$target" in
|
||||
;;
|
||||
*-darwin*)
|
||||
# GCC on darwin is based on gcc 4.2 and we don't support it anymore.
|
||||
MOZ_PATH_PROGS(CC, $CC clang)
|
||||
MOZ_PATH_PROGS(CXX, $CXX clang++)
|
||||
if test -z "$CC"; then
|
||||
MOZ_PATH_PROGS(CC, clang)
|
||||
fi
|
||||
if test -z "$CXX"; then
|
||||
MOZ_PATH_PROGS(CXX, clang++)
|
||||
fi
|
||||
IS_GCC=$($CC -v 2>&1 | grep gcc)
|
||||
if test -n "$IS_GCC"
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user