# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS = " -O2 -pipe -march=bdver2 -mmmx -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mbmi -mtbm -mavx -msse4.2 -msse4.1 -mlzcnt -mf16c -mprfchw -mfxsr -mxsave --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver2 -fstack-protector-strong -mprefer-avx128 -mvzeroupper "
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.

#ABI_X86="32 64"

CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop"

##uses flags relacionadas com hardware
USE="nvidia cuda opencl vaapi vdpau g3dvl s3tc"

##Multmidia
USE="$USE aac real alsa ffmpeg -libav -ipv6 X mp3 encode  bluetooth v4l quicktime joystick pulseaudio netplay schroedinger connection-sharing fbcondecor thumbnail gif jpeg mpeg matroska xanim png tiff svg a52 exif mp3 ogg vorbis theora xpm wmf win32codecs x264 flac postscript xvid mad mp2 divx dlna encode"

##Software em geral
USE="$USE ntfs fat  -ppp -pppd -lvm -static-libs java kde qt4 -qt3 mng -gnome -gtk -gtk2 -gdbm djvu rar bash-completion -ppds  webcam v4l2 nsplugin subversion jabber icu dhcpcd -dhclient"

##Outras         gcc                      mysql
USE="$USE -ipv6 lm_sensors samba qt3support modplug"

#KDE             qt-creator
USE="$USE lcms private-headers networkmanager upower -modemmanager threads embedded" 

#games
USE="$USE mod"

MAKEOPTS="-j25 -l10"

ACCEPT_KEYWORDS="~amd64"

ACCEPT_LICENSE="*"

LINGUAS="pt_BR en_US"
LANG="pt_BR.iso8859-1"

CCACHE_SIZE="2G"

FEATURES="parallel-fetch distcc distcc-pump"

EMERGE_DEFAULT_OPTS="--keep-going"

VIDEO_CARDS="nvidia intel i965"
ALSA_CARDS="hda-intel"
INPUT_DEVICES="keyboard mouse joystick evdev"
#PORTDIR_OVERLAY="/usr/local/portage"

# CCache configurations
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="2G"

PORTAGE_TMPDIR=/tmp

# Portage ELog configurations
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_ELOG_CLASSES="warn error info log qa"
#PORTAGE_ELOG_CLASSES="warn error log qa"

DRACUT_MODULES="plymouth"

NETBEANS_MODULES="apisupport harness ide java nb websvccommon cnd dlight"
source /var/lib/layman/make.conf

GRUB_PLATFORMS="emu efi-64 pc"

CAMERAS="canon ptp2"

SANE_BACKENDS="hp"

# Set PORTDIR for backward compatibility with various tools:
#   gentoo-bashcomp - bug #478444
#   euse - bug #474574
#   euses and ufed - bug #478318
PORTDIR="/usr/portage"
