components/gcc49/Makefile
changeset 5348 623c86e1e386
parent 5248 6f0a9396a317
child 5359 57359db17e2a
--- a/components/gcc49/Makefile	Tue Jan 26 12:07:50 2016 -0600
+++ b/components/gcc49/Makefile	Mon Jan 25 17:27:47 2016 -0600
@@ -66,6 +66,10 @@
 
 GNU_SECTIONS_MAPFILE = $(COMPONENT_DIR)/Solaris/map.gnu-sections
 
+# Make sure to pass -m32/64 any time the installed GCC is used 
+CC += $(CC_BITS)
+CXX += $(CC_BITS)
+
 CFLAGS.i386 = -mtune=opteron -march=opteron -fno-strict-aliasing
 CFLAGS.sparc = -mtune=ultrasparc3 -mcpu=ultrasparc3 -mvis2 \
   -mno-unaligned-doubles -mhard-float -fno-strict-aliasing