More generic compiler flags

This commit is contained in:
Julian Ospald 2016-08-12 19:08:28 +02:00
parent 2232da2a31
commit 60a0f55386

View File

@ -1,9 +1,9 @@
CHOST="x86_64-pc-linux-gnu"
x86_64_pc_linux_gnu_CFLAGS="-march=native -pipe -O2"
x86_64_pc_linux_gnu_CXXFLAGS="-march=native -pipe -O2"
x86_64_pc_linux_gnu_CFLAGS="-march=generic -mtune=generic -pipe -O2"
x86_64_pc_linux_gnu_CXXFLAGS="-march=generic -mtune=generic -pipe -O2"
x86_64_pc_linux_gnu_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
i686_pc_linux_gnu_CFLAGS="-march=native -pipe -O2"
i686_pc_linux_gnu_CXXFLAGS="-march=native -pipe -O2"
i686_pc_linux_gnu_CFLAGS="-march=generic -mtune=generic -pipe -O2"
i686_pc_linux_gnu_CXXFLAGS="-march=generic -mtune=generic -pipe -O2"
i686_pc_linux_gnu_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
[[ -e /etc/paludis/hooks/setup_pkg_env.bash ]] && . /etc/paludis/hooks/setup_pkg_env.bash