Respect explicitly given MJIT_CC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
002e0ca428
commit
fc8bda6ff7
@ -260,7 +260,7 @@ AS_CASE(["$build_os"],
|
|||||||
echo 'int main(void) {return 0;}' > conftest.c
|
echo 'int main(void) {return 0;}' > conftest.c
|
||||||
AS_IF([$CC -framework Foundation -o conftest conftest.c 2>&1 |
|
AS_IF([$CC -framework Foundation -o conftest conftest.c 2>&1 |
|
||||||
grep '^ld: warning: text-based stub file' >/dev/null], [
|
grep '^ld: warning: text-based stub file' >/dev/null], [
|
||||||
MJIT_CC="$CC"
|
: ${MJIT_CC="$CC"}
|
||||||
CC_WRAPPER=`cd -P "$srcdir/tool" && pwd`/darwin-cc
|
CC_WRAPPER=`cd -P "$srcdir/tool" && pwd`/darwin-cc
|
||||||
CC="$CC_WRAPPER $CC"
|
CC="$CC_WRAPPER $CC"
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user