components/desktop/firefox/patches/firefox-49-freebl-as.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Mon, 05 Sep 2016 05:00:46 -0700
branchs11u3-sru
changeset 7035 4c2f26e9d5ab
permissions -rw-r--r--
24361911 Upgrade Firefox to version 45.4.0 ESR 23033044 firefox needs to be built with "--with-intl-api" option 24708365 problem in FIREFOX/BROWSER 24708614 problem in FIREFOX/BROWSER

#
# Building freebl should use the supplied top level compiler to drive the
# assembler and not whichever gcc it happens to pick up.
#
--- a/security/nss/lib/freebl/Makefile	Mon Dec 21 14:32:54 2015
+++ b/security/nss/lib/freebl/Makefile	Sun Apr  3 18:03:44 2016
@@ -426,8 +426,8 @@
 else
     # Solaris for non-sparc family CPUs
     ifdef NS_USE_GCC
-	LD = gcc
-	AS = gcc
+	LD = $(CC)
+	AS = $(CC)
 	ASFLAGS = -x assembler-with-cpp
     endif
     ifeq ($(USE_64),1)