Safe Cflags/Other

Sparc
CHOST="sparc-unknown-linux-gnu" CFLAGS="-O2 -pipe" CXXFLAGS="${CFLAGS}"

Sparc 64
CHOST="sparc-unknown-linux-gnu" CFLAGS="-mcpu=ultrasparc -O2 -pipe" CXXFLAGS="${CFLAGS}"

HPPA 1.1
CHOST="hppa1.1-unknown-linux-gnu" CFLAGS="-O2 -pipe -mschedule=7100LC -march=1.1 -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"

HPPA 2.0
CHOST="hppa2.0-unknown-linux-gnu" CFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"

Alpha ev56
CHOST="alpha-unknown-linux-gnu" CFLAGS="-mcpu=ev56 -mieee -O2 -pipe" CXXFLAGS="${CFLAGS}"

Alpha ev67
CHOST="alpha-unknown-linux-gnu" CFLAGS="-mieee -mcpu=ev67 -Wa,-mev6 -O2 -pipe " CXXFLAGS="${CFLAGS}"

This applies to ev68 (Compaq Alpha DS25) machines too. Without -mcpu=ev67 -Wa,-mev6 flags it cannot bootstrap at all.

Cyrix MediaGX
CHOST="i586-pc-linux-gnu" CFLAGS="-march=pentium-mmx -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"

TI OMAP2
CHOST="arm-gentoo-linux-gnueabi" CFLAGS="-march=armv6j -Os -pipe -fomit-frame-pointer -mtune=arm1136jf-s -mfpu=vfp" CXXFLAGS="${CFLAGS}"

MIPS (Cobalt RaQ2)
CHOST="mipsel-unknown-linux-gnu" CFLAGS="-Os -mips4 -mabi=32 -pipe" CXXFLAGS="${CFLAGS}"

system type            : Cobalt RaQ2 processor              : 0 cpu model              : Nevada V10.0  FPU V10.0 BogoMIPS               : 249.34 byteorder              : little endian wait instruction       : yes microsecond timers     : yes tlb_entries            : 48 extra interrupt vector : yes hardware watchpoint    : no ASEs implemented        : shadow register sets   : 1 core                   : 0 VCED exceptions        : not available VCEI exceptions        : not available

PXA270
CHOST="armv5te-iwmmxt-linux-gnueabi" CFLAGS="-O2 -march=iwmmxt -mtune=iwmmxt -pipe" CXXFLAGS="${CFLAGS}"

Processor      : XScale-PXA270 rev 7 (v5l) BogoMIPS       : 519.37 Features       : swp half thumb fastmult edsp iwmmxt CPU implementer : 0x69 CPU architecture: 5TE CPU variant    : 0x0 CPU part       : 0x411 CPU revision   : 7 Cache type     : undefined 5 Cache clean    : undefined 5 Cache lockdown : undefined 5 Cache format   : Harvard I size         : 32768 I assoc        : 32 I line length  : 32 I sets         : 32 D size         : 32768 D assoc        : 32 D line length  : 32 D sets         : 32

Kirkwood (Sheevaplug and alike)
CFLAGS="-O2 -pipe -march=armv5te -mtune=xscale -fweb -frename-registers -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" CHOST="armv5tel-softfloat-linux-gnueabi"

Processor      : Feroceon 88FR131 rev 1 (v5l) BogoMIPS       : 1196.85 Features       : swp half thumb fastmult edsp CPU implementer : 0x56 CPU architecture: 5TE CPU variant    : 0x2 CPU part       : 0x131 CPU revision   : 1

Hardware       : Marvell OpenRD Ultimate Board Revision       : 0000 Serial         : 0000000000000000 Bezpečné Cflagy/Ostatní Cflags sûr/Autre Bezpieczne CFLAGS/Inne