Use -march=i386 in addition to -m32.