nss: use clang-3.4 as compiler on Intel

nss contains assembly that the old gas assembler can't manage
using clang-3.4 is the easiest fix for this, as it is
already needed elsewhere for libvpx
This commit is contained in:
Ken Cunningham 2020-06-11 10:58:15 -07:00
parent de14812b7d
commit 69d3cf03c9

View File

@ -10,6 +10,17 @@ CXX_WRAPPER =
default::
ifeq (86,$(findstring 86,$(OS_TEST)))
# TenFourFox Intel fix
# TO DO - pass the compiler in as an environment variable
CC=clang-mp-3.4
CC += -arch i386
CC += -O3
CCC=clang++-mp-3.4
CCC += -arch i386
CCC += -O3
endif
include $(topsrcdir)/config/makefiles/functions.mk
NSS_LIBS = \