nss/nss.patch |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

New commits:
commit 6885fc51b93ee94197aae5e9ae4e9be503bc9903
Author: Tor Lillqvist <t...@iki.fi>
Date:   Mon Oct 15 08:06:53 2012 +0300

    Ccache doesn't like several -arch flags
    
    So make sure just one is passed to the compiler.
    
    Change-Id: I217b7ac34ba20e35a23c18df6b497919061ca44c

diff --git a/nss/nss.patch b/nss/nss.patch
index 5d67302..d0e3318 100644
--- a/nss/nss.patch
+++ b/nss/nss.patch
@@ -26,6 +26,32 @@
  RANLIB                = ranlib
  
  ifndef CPU_ARCH
+@@ -57,19 +57,25 @@
+ 
+ ifeq (,$(filter-out i%86,$(CPU_ARCH)))
+ ifdef USE_64
++ifeq (,$(findstring -arch ,$(CC)))
+ CC              += -arch x86_64
++endif
+ override CPU_ARCH     = x86_64
+ else
+ OS_REL_CFLAGS = -Di386
++ifeq (,$(findstring -arch ,$(CC)))
+ CC              += -arch i386
++endif
+ override CPU_ARCH     = x86
+ endif
+ else
+ ifeq (arm,$(CPU_ARCH))
+ # Nothing set for arm currently.
+ else
+ OS_REL_CFLAGS = -Dppc
++ifeq (,$(findstring -arch ,$(CC)))
+ CC              += -arch ppc
++endif
+ endif
+ endif
+ 
 --- misc/nss-3.13.5/mozilla/security/coreconf/FreeBSD.mk       2009-11-23 
05:06:29.000000000 -0500
 +++ misc/build/nss-3.13.5/mozilla/security/coreconf/FreeBSD.mk 2012-08-28 
20:27:20.000000000 -0400
 @@ -57,6 +57,7 @@
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to