22590264 thunderbird build should specify bits and be more permissive
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Mon, 25 Jan 2016 17:26:45 -0600
changeset 5344 61c6ac904750
parent 5343 48c162cab8f5
child 5345 b05936f49ca5
22590264 thunderbird build should specify bits and be more permissive
components/desktop/thunderbird/Makefile
--- 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__"