-configure_gcc-3.3 += --enable-languages=c,c++,java --enable-gc-type=boehm
-configure_gcc-3.3 += --disable-shared --disable-jvmpi
+configure_gcc-3.3 += --enable-languages=c,c++,java --enable-gc-type=boehm --disable-jvmpi
+ifneq ($(platform),Solaris)
+configure_gcc-3.3 += --disable-shared
+else
+configure_gcc-3.3 += --enable-shared
+endif