rendered paste body# bashrc
# This file created by Dr. W.F.Bombay
export CHOST="i686-pc-linux-gnu"
#
# CFLAGS
#
CF01="-march=prescott"
CF02="-O3" # AStorm & b33fc0d3
CF03="-pipe" # Everyone agrees on this flag
CF04="-fomit-frame-pointer" # Nesl247 & Conrad
CF05="-fno-ident" # Conrad
CF06="-frename-registers" # Nesl247 & Conrad
CF07="-fweb" # Nesl247 & Conrad
CF08="-msse3" # seren
CF09="-ftree-vectorize" # AStorm & b33fc0d3
CF10="-ftree-vectorizer-verbose=7"
CF11="-Dft_isdigit=isdigit"
CF12="-O2" # Everyone agrees on this flag
CF13="-fgcse-after-reload"
case "${PN}" in
libXfont)
# Needs this particular cflag for xorg-server to build
CFLAGS="${CF01} ${CF02} ${CF03} ${CF04} ${CF05} ${CF06} ${CF07} ${CF08} ${CF09} ${CF10} ${CF11}"
;;
paludis)
CFLAGS="${CF01} ${CF03} ${CF04} ${CF12} ${CF13}"
;;
# libtool)
# # Has problem with ftree-vectorize
# CFLAGS="${CF01} ${CF02} ${CF03} ${CF04} ${CF05} ${CF06} ${CF07} ${CF08}"
# ;;
*)
# Base CFLAGS
CFLAGS="${CF01} ${CF02} ${CF03} ${CF04} ${CF05} ${CF06} ${CF07} ${CF08} ${CF09} ${CF10}"
;;
esac
#
# C++ Flags
#
CXXF1="-fvisibility-inlines-hidden"
#
#Base CXXFLAGS
#
case "${PN}" in
paludis)
# Has a problem with -fvisibility-inlines-hidden, testsuite falls if it's enabled
CXXFLAGS="${CFLAGS}"
;;
*)
# Base CXXFLAGS
CXXFLAGS="${CFLAGS} ${CXXF1}"
;;
esac
#
# Linker Flags
#
# LDF1="-Wl,-O1"
# LDF2="-Wl,--as-needed"
# LDF3="-Wl,--hash-style=both"
# LDF4="-Wl,-znow"
# LDF5="-Wl,--sort-common"
#case "${P}" in
# evfs-9999)
# # These packages choke on --as-needed
# LDFLAGS="${LDF1} ${LDF3} ${LDF4} ${LDF5}"
# ;;
# *)
# # Base LDFLAGS
# LDFLAGS="${LDF1}" # ${LDF2} ${LDF3} ${LDF4} ${LDF5}"
# ;;
#esac
#
# Make options
#
case "${P}" in
# glibc-2.7)
# MAKEOPTS="-j1"
# ;;
*)
MAKEOPTS="-j3 -s"
;;
esac
#
# These packages fail during testing
#
case "${P}" in
automake-1.6.3|automake-1.7.9|automake-1.8.5|automake-1.9.6|automake-1.10|coreutils-6.9|curl-7.16.3|curl-7.16.4|e2fsprogs-1.40.1|gmp-4.2.1|gst-python-0.10.6|guile-1.8.1
|libtool-1.5.24|mono-1.2.4|mutagen-1.11|python-2.4.4|python-2.5.1|rsync-2.6.9|syslog-ng-2.0.4|tar-1.18|texinfo-4.11)
export SKIP_FUNCTIONS=test
;;
esac
#
# Sandbox violation workaround
#
#case "${P}" in
# *)
# SANDBOX_PREDICT=/
# ;;
#esac
#
# Cache Information
#
export PATH="/usr/lib/ccache/bin/:${PATH}"
export CCACHE_DIR="/var/tmp/ccache"