summaryrefslogtreecommitdiff
path: root/svtools/UIConfig_svt.mk
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-07-12 11:33:57 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-07-14 15:36:33 +0000
commit38d0bde62bd5fe8022ac45c5657226761fcdaa30 (patch)
tree6dcb9170713fec5da82b308d5c53f0b922a0985b /svtools/UIConfig_svt.mk
parentcdfd24fe2a45ab41c84f813eb0d6a52a9d731a79 (diff)
ExternalProject_python3.mk: MACOSX
To build a universal binary in Mac OS X 10.6+ with an Intel processor, it is better to set --with-universal-archs=intel, remember that Rosetta is not installed by default in Mac OS X v10.6 and it is neither included nor supported in Mac OS X v10.7 or later. If we don't use --with-universal-archs then the configure.ac sets the architectures: ... UNIVERSAL_ARCHS="32-bit" if test "`uname -s`" = "Darwin" then if test -n "${UNIVERSALSDK}" then if test -z "`/usr/bin/file "${UNIVERSALSDK}/usr/lib/libSystem.dylib" | grep ppc`" then UNIVERSAL_ARCHS="intel" fi fi fi ... In Snow Leopard (Mac OS 10.6): /usr/bin/file /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libSystem.dylib /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libSystem.dylib: Mach-O universal binary with 4 architectures /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libSystem.dylib (for architecture ppc7400): Mach-O dynamically linked shared library stub ppc /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libSystem.dylib (for architecture ppc64): Mach-O 64-bit dynamically linked shared library stub ppc64 /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libSystem.dylib (for architecture i386): Mach-O dynamically linked shared library stub i386 /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libSystem.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library stub x86_64 /usr/bin/file /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libSystem.dylib /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libSystem.dylib: Mach-O universal binary with 3 architectures /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libSystem.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library stub x86_64 /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libSystem.dylib (for architecture i386): Mach-O dynamically linked shared library stub i386 /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libSystem.dylib (for architecture ppc7400): Mach-O dynamically linked shared library stub ppc If x86_64 (for OS X 10.8+) or PPC (for OS X 10.5) is only desired then a universal binary is not useful and we don't have to use --enable-universalsdk=${UNIVERSALSDK}. Change-Id: Ib0578cfdb912fed5a803df3d2e04d2b037cfe13f Reviewed-on: https://gerrit.libreoffice.org/10249 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools/UIConfig_svt.mk')
0 files changed, 0 insertions, 0 deletions