зеркало из https://github.com/mozilla/gecko-dev.git
Bug 659463 - Make check on mac should check that we can combine x86-32 and x86-64 to make a universal binary, instead of trying to combine x86 and PPC. r=ted
This commit is contained in:
Родитель
3ae08dd751
Коммит
d869da05f2
|
@ -123,11 +123,11 @@ libs:: $(topsrcdir)/tools/rb/fix_macosx_stack.py
|
|||
|
||||
# Basic unit tests for some stuff in the unify script
|
||||
check::
|
||||
# build ppc/i386 binaries, and unify them
|
||||
rm -f unify-test-ppc unify-test-i386 unify-test-universal
|
||||
$(HOST_CC) -arch ppc $(srcdir)/unify-test.c -o unify-test-ppc
|
||||
# build x64/i386 binaries, and unify them
|
||||
rm -f unify-test-x64 unify-test-i386 unify-test-universal
|
||||
$(HOST_CC) -arch x86_64 $(srcdir)/unify-test.c -o unify-test-x64
|
||||
$(HOST_CC) -arch i386 $(srcdir)/unify-test.c -o unify-test-i386
|
||||
@if ! $(srcdir)/macosx/universal/unify ./unify-test-ppc ./unify-test-i386 \
|
||||
@if ! $(srcdir)/macosx/universal/unify ./unify-test-x64 ./unify-test-i386 \
|
||||
./unify-test-universal; then \
|
||||
echo "TEST-UNEXPECTED-FAIL | build/ | unify failed to produce a universal binary!"; \
|
||||
false; \
|
||||
|
|
Загрузка…
Ссылка в новой задаче