--- a/components/desktop/thunderbird/Makefile Wed Jan 13 10:15:11 2016 -0600
+++ b/components/desktop/thunderbird/Makefile Mon Jan 25 17:26:45 2016 -0600
@@ -20,7 +20,7 @@
#
#
-# Copyright (c) 2015, 2016 Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
#
# parfait is a bit unhappy (22527218)
@@ -100,7 +100,9 @@
echo 'ac_add_options --with-rpath="\\\\\\$$\\$$ORIGIN"' >> $(MOZCONFIG) ; \
echo "ac_add_options --enable-startup-notification" >> $(MOZCONFIG) ;
-CXXFLAGS += -Wno-invalid-offsetof
+CXXFLAGS += -Wno-invalid-offsetof -fpermissive
+CC += $(CC_BITS)
+CXX += $(CC_BITS)
CONFIGURE_ENV += PKG_CONFIG_PATH=$(CONFIGURE_LIBDIR.$(BITS))/pkgconfig
CONFIGURE_ENV += OS_DEFINES="-D__USE_LEGACY_PROTOTYPES__"