Merge "Define correct default gcc target march/mtune/mfpmath flags for x86"
diff --git a/build/tools/build-host-gcc.sh b/build/tools/build-host-gcc.sh
index 469eced..2145396 100755
--- a/build/tools/build-host-gcc.sh
+++ b/build/tools/build-host-gcc.sh
@@ -1427,6 +1427,9 @@
         arm)
             ARGS=$ARGS" --with-arch=armv5te --with-float=soft --with-fpu=vfpv3-d16"
             ;;
+        x86)
+            ARGS=$ARGS" --with-arch=i686 --with-tune=atom --with-fpmath=sse"
+            ;;
         mips)
             # Add --disable-fixed-point to disable fixed-point support
             # Add --disable-threads for eh_frame handling in a single thread