Commits

Cody Schafer  committed 89b81e9

fiddle with gcc configure args

  • Participants
  • Parent commits 7b2e248

Comments (0)

Files changed (1)

 
 conf_gcc ()
 {
+	FLAGS_FOR_TARGET="-isystem $PREFIX/powerpc-wrs-vxworks/sys-include/wrn/coreip"
+
+	CFLAGS_FOR_TARGET="$FLAGS_FOR_TARGET"\
+	CXXFLAGS_FOR_TARGET="$FLAGS_FOR_TARGET" \
 	"$SRC/gcc-$GCC_VERSION/configure" \
 	    --prefix="$PREFIX" \
 	    --target=powerpc-wrs-vxworks \
 	    --with-gnu-as \
 	    --with-gnu-ld \
 	    --with-headers="$WIND_BASE/target/h" \
-	    --disable-shared \
 	    --disable-libssp \
 	    --disable-multilib \
 	    --with-float=hard \
 	    --enable-languages=c,c++ \
 	    --enable-threads=vxworks \
-	    --enable-libstdc++-v3 \
+	    --enable-libstdcxx \
+	    --without-gconv \
 	    --disable-libgomp \
 	    --disable-nls \
 	    --disable-libmudflap \
-	    --with-cpu-PPC603
+	    --with-cpu-PPC603 \
+	    --enable-static \
+	    --enable-shared
+
 }
 
 do_gcc () {