Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 830165
Collapse All | Expand All

(-)a/configure (-1 / +1 lines)
Lines 4975-4981 Link Here
4975
    case "$cc_type" in
4975
    case "$cc_type" in
4976
        gcc|llvm_gcc)
4976
        gcc|llvm_gcc)
4977
            check_native(){
4977
            check_native(){
4978
                $cc $1=native -v -c -o $TMPO $TMPC >$TMPE 2>&1 || return
4978
                $cc $1=native -mcpu=native -v -c -o $TMPO $TMPC >$TMPE 2>&1 || return
4979
                sed -n "/cc1.*$1=/{
4979
                sed -n "/cc1.*$1=/{
4980
                            s/.*$1=\\([^ ]*\\).*/\\1/
4980
                            s/.*$1=\\([^ ]*\\).*/\\1/
4981
                            p
4981
                            p

Return to bug 830165