2012-03-11 16:32:32 +01:00
|
|
|
# Temp disable Graphite due to known x11-libs/qt-* bugs
|
2012-03-22 23:03:14 +01:00
|
|
|
GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
|
2012-02-01 14:11:24 +01:00
|
|
|
FPUABI="-mfloat-abi=softfp"
|
|
|
|
|
2012-03-22 23:03:14 +01:00
|
|
|
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 ${FPUABI}"
|
2012-02-01 14:11:24 +01:00
|
|
|
CXXFLAGS="${CFLAGS}"
|
|
|
|
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
|
|
|
|
CHOST="armv7a-unknown-linux-gnueabi"
|
|
|
|
|
2012-02-13 18:47:58 +01:00
|
|
|
### COMMON PART
|
|
|
|
#################################################
|
|
|
|
# Portage configuration
|
|
|
|
ACCEPT_KEYWORDS="~arm arm"
|
2012-09-17 13:10:00 +02:00
|
|
|
FEATURES="ccache distcc distcc-pump parallel-fetch protect-owned splitdebug noinfo"
|
2012-02-13 18:47:58 +01:00
|
|
|
MAKEOPTS="-j16 -s"
|
|
|
|
CCACHE_SIZE="50G"
|
2012-03-04 18:29:43 +01:00
|
|
|
CCACHE_DIR="/var/ccache"
|
2012-02-13 18:47:58 +01:00
|
|
|
# Global USE flags
|
|
|
|
USE="alsa cpudetection dbus flac goom joystick mp3 theora threads truetype xvid vorbis vorbis"
|
|
|
|
|
|
|
|
# distcc configuration
|
|
|
|
DISTCC_SSH="/etc/distcc/distcc-ssh"
|
|
|
|
# <host>/<number of jobs>
|
|
|
|
# Works with QEMU warnings (damn)
|
|
|
|
# DISTCC_HOSTS="localhost/1 distcc@localhost/15,lzo,cpp"
|
|
|
|
# Works
|
|
|
|
DISTCC_HOSTS="localhost/1 127.0.0.1/15,lzo,cpp"
|
|
|
|
# DISTCC_VERBOSE=1
|
|
|
|
|
|
|
|
# Package specific configuration
|
|
|
|
APACHE2_MPMS="prefork"
|
|
|
|
|
|
|
|
# Filter out crap from packages
|
|
|
|
INSTALL_MASK="usr/share/gtk-doc/html/*"
|
|
|
|
PKG_INSTALL_MASK="${INSTALL_MASK}"
|
|
|
|
#################################################
|
|
|
|
### END COMMON PART -- cut here
|
|
|
|
|
2012-02-01 14:11:24 +01:00
|
|
|
source /var/lib/layman/make.conf
|