Raspberry Pi port, piCore-15.0 is available!
case $(uname -m) in i686|x86) CFLAGS="-march=i486 -mtune=i686 -Os -pipe" CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe" ;; x86_64) CFLAGS="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXXFLAGS="-flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ;; armv6*) CFLAGS="-march=armv6 -mcpu=arm1176jzf-s -mfpu=vfp" CXXFLAGS="-march=armv6 -mcpu=arm1176jzf-s -mfpu=vfp" ;; armv7*) CFLAGS="-march=armv7-a -mtune=cortex-a7 -mfpu=neon" CXXFLAGS="-march=armv7-a -mtune=cortex-a7 -mfpu=neon" ;;esac
case $(uname -m) in i686|x86) CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe" ;; x86_64) CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ;; armv6*) CC="gcc -march=armv6 -mcpu=arm1176jzf-s -mfpu=vfp" CXX="g++ -march=armv6 -mcpu=arm1176jzf-s -mfpu=vfp" ;; armv7*) CC="gcc -march=armv7-a -mtune=cortex-a7 -mfpu=neon" CXX="g++ -march=armv7-a -mtune=cortex-a7 -mfpu=neon" ;;esac