Source

gentoo-overlay / README

Full commit
These are my mods to make the ebuilds in this overlay to compile with the following:

1. gcc-4.7.0
============
gcc (Gentoo 4.7.0_alpha20110924) 4.7.0-alpha20110924 20110924 (experimental)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

2. CFLAGS
=========
CFLAGS="-march=corei7 -mno-cx16 -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -mno-sse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=corei7 -O2 -pipe"