All pastes #756000 Raw Edit

dr.bombay

public text v1 · immutable
#756000 ·published 2007-10-31 01:49 UTC
rendered paste body
# bashrc
# This file created by Dr. W.F.Bombay

export CHOST="i686-pc-linux-gnu"

#
# CFLAGS
#
        
        CF03="-O2" # Everyone agrees on this flag
        CF04="-O3" # AStorm & b33fc0d3
        CF05="-march=pentium4" # Everyone agrees on this flag
        CF06="-pipe" # Everyone agrees on this flag
        CF07="-fomit-frame-pointer" # Nesl247 & Conrad
        CF08="-frename-registers" # Nesl247 & Conrad
        CF09="-fgcse-after-reload"
        CF10="-Dft_isdigit=isdigit"
        CF11="-ftree-vectorize" # AStorm & b33fc0d3
        CF12="-fweb" # Nesl247 & Conrad
        CF13="-funit-at-a-time" # Conrad
        CF14="-freorder-blocks" # Conrad
        CF15="-freorder-blocks-and-partition" # Conrad
        CF16="-fmerge-all-constants" # Conrad
        CF17="-combine" # Conrad
        CF18="-fno-ident" # Conrad
        CF19="-ftree-vectorizer-verbose=7"

case ${CATEGORY}/${PN} in
        x11-libs/libXfont)
        # Needs this particular cflag for xorg-server to build
        CFLAGS="${CF04} ${CF05} ${CF06} ${CF07} ${CF08} ${CF10} ${CF12}"
        ;;
        sys-apps/paludis)
        CFLAGS="${CF03} ${CF05} ${CF06} ${CF07}"
        ;;
        x11-wm/e|x11-libs/e_dbus|x11-libs/ewl|media-libs/emotion|x11-misc/entrance|x11-libs/esmart|media-libs/epeg|dev-db/edb|media-libs/epsilon|x11-misc/estickies|x11-
libs/etk|media-libs/edje|dev-libs/efreet|x11-libs/ecore|x11-libs/evas|dev-libs/eet|media-libs/imlib2|x11-plugins/e_modules-alarm|x11-plugins/e_modules-cpu|x11-plugins/e
_modules-forecasts|x11-plugins/e_modules-mail|x11-plugins/e_modules-mem|x11-plugins/e_modules-net|x11-plugins/e_modules-news|x11-plugins/e_modules-rain|x11-plugins/e_mo
dules-screenshot|x11-plugins/e_modules-uptime|x11-plugins/e_modules-winselector|x11-plugins/e_modules-wlan)
        # These are the packages for the Enlightenment Window Manager
        CFLAGS="${CF04} ${CF05} ${CF06} ${CF07} ${CF08} ${CF09} ${CF11} ${CF12} ${CF19}"
        ;;
        *)
        # Base CFLAGS
        CFLAGS="${CF04} ${CF05} ${CF06} ${CF07} ${CF08} ${CF12}"
        ;;
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=gnu"
        LDF4="-Wl,-znow"
        LDF5="-Wl,--sort-common"

case "${P}" in
        cdparanoia-3.9.8|courier-imap-4.1.2|evfs-9999|evolution-2.12.1|mjpegtools-1.9.0|paludis-0.26.0_alpha2|pilot-link-0.11.8|qdbm-1.8.75|torcs-1.3.0)
        # These packages choke on --as-needed
        LDFLAGS="${LDF1} ${LDF3} ${LDF4} ${LDF5}"
        ;;
        ati-drivers-8.34.8|ffmpeg-20079999|gst-python-0.10.8|texinfo-4.11|xorg-server-1.3.0.0)
        # These packages choke on -znow
        LDFLAGS="${LDF1} ${LDF2} ${LDF3} ${LDF5}"
        ;;
        glibc-2.7)
        # These packages choke on LDFLAGS
        LDFLAGS=""
        ;;
        *)
        # Base LDFLAGS
        LDFLAGS="${LDF1} ${LDF2} ${LDF3} ${LDF4} ${LDF5}"
        ;;
esac
        
#
# Make options
# 

case "${P}" in
        x264-svn-20079999)
        MAKEOPTS="-j1"
        ;;
        *)
esac

#
# These packages fail during testing
#

case "${P}" in 
        automake-1.5|automake-1.6.3|automake-1.7.9|automake-1.8.5|automake-1.9.6|automake-1.10|boost-1.34.1|tracker-0.6.3|coreutils-6.9|curl-7.16.3|curl-7.16.4|dbus-pyt
hon-0.82.2|e2fsprogs-1.40.1|e2fsprogs-1.40.2|ecasound-2.4.5|eel-2.20.0|epiphany-2.18.2|evince-0.8.3|gimp-help-0.13|gnome-vfs-2.20.0|gst-python-0.10.8|guile-1.8.3|ladspa
-sdk-1.12|libgnomecanvas-2.20.1.1|libbonoboui-2.20.0|mono-1.2.4|mutagen-1.12|mutagen-1.11|nautilus-2.20.0|pygobject-2.14.0|poppler-bindings-0.6.1|pmount-0.9.16|qdbm-1.8
.75|rsync-2.6.9|syslog-ng-2.0.4|tar-1.18|texinfo-4.11|x11-drm-20071019) 
        export SKIP_FUNCTIONS=test  
        ;; 
esac

#
# Sandbox violation workaround
#

case "${P}" in
       gimp-help-0.13|gnome-vfs-2.20.0|ladspa-sdk-1.12)
        SANDBOX_PREDICT=/
        ;;
esac

#
# Cache Information
#

export PATH="/usr/lib/ccache/bin/:${PATH}"
export CCACHE_DIR="/var/tmp/ccache"