exherbo-config/bashrc

54 lines
2.2 KiB
Bash
Raw Normal View History

2016-08-14 11:47:34 +00:00
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_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
2020-04-29 10:25:58 +00:00
i686_pc_linux_gnu_CFLAGS="-march=i686 -pipe -O2"
i686_pc_linux_gnu_CXXFLAGS="-march=i686 -pipe -O2"
2016-08-14 11:47:34 +00:00
i686_pc_linux_gnu_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
2020-04-29 10:25:58 +00:00
armv7_unknown_linux_gnueabi_CFLAGS="-march=armv7-a -pipe -O2"
armv7_unknown_linux_gnueabi_CXXFLAGS="-march=armv7-a -pipe -O2"
armv7_unknown_linux_gnueabi_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
armv7_unknown_linux_gnueabihf_CFLAGS="-march=armv7-a -mfpu=neon -pipe -O2"
armv7_unknown_linux_gnueabihf_CXXFLAGS="-march=armv7-a -mfpu=neon -pipe -O2"
armv7_unknown_linux_gnueabihf_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
aarch64_unknown_linux_gnueabi_CFLAGS="-march=armv8-a -pipe -O2"
aarch64_unknown_linux_gnueabi_CXXFLAGS="-march=armv8-a -pipe -O2"
aarch64_unknown_linux_gnueabi_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
aarch64_unknown_linux_musleabi_CFLAGS="-march=armv8-a -pipe -O2"
aarch64_unknown_linux_musleabi_CXXFLAGS="-march=armv8-a -pipe -O2"
aarch64_unknown_linux_musleabi_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
ia64_unknown_linux_gnu_CFLAGS="-march=native -pipe -O2"
ia64_unknown_linux_gnu_CXXFLAGS="-march=native -pipe -O2"
ia64_unknown_linux_gnu_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
powerpc64_unknown_linux_gnu_CFLAGS="-march=native -pipe -O2"
powerpc64_unknown_linux_gnu_CXXFLAGS="-march=native -pipe -O2"
powerpc64_unknown_linux_gnu_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
2016-08-14 11:47:34 +00:00
2016-08-20 20:29:08 +00:00
#GIT_WRAPPER="sudo -u hasufell -g paludisbuild"
2016-08-14 11:47:34 +00:00
[[ -e /etc/paludis/hooks/setup_pkg_env.bash ]] && . /etc/paludis/hooks/setup_pkg_env.bash
2016-09-02 05:23:42 +00:00
case "${CATEGORY}/${PN}" in
x11-wm/i3)
scm_user_customize () {
2020-01-06 01:10:57 +00:00
SCM_REPOSITORY="https://github.com/hasufell/i3-window-icons.git"
SCM_BRANCH="4.17.1/icons"
2016-09-02 05:23:42 +00:00
}
;;
games-fps/urbanterror)
EXTRA_WGET="--no-check-certificate"
;;
2016-09-02 05:23:42 +00:00
esac
2016-10-25 17:50:25 +00:00
case "${REPOSITORY}" in
hasufell-binhost)
EXTRA_WGET="--no-check-certificate"
;;
esac
2016-10-25 17:50:25 +00:00
# idiotic mysql package dies in pkg_pretend otherwise
MYSQL_MAJOR_UPGRADE="YesPlease"