54 lines
2.2 KiB
Bash
54 lines
2.2 KiB
Bash
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"
|
|
i686_pc_linux_gnu_CFLAGS="-march=i686 -pipe -O2"
|
|
i686_pc_linux_gnu_CXXFLAGS="-march=i686 -pipe -O2"
|
|
i686_pc_linux_gnu_LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
|
|
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"
|
|
|
|
|
|
#GIT_WRAPPER="sudo -u hasufell -g paludisbuild"
|
|
|
|
|
|
[[ -e /etc/paludis/hooks/setup_pkg_env.bash ]] && . /etc/paludis/hooks/setup_pkg_env.bash
|
|
|
|
|
|
case "${CATEGORY}/${PN}" in
|
|
x11-wm/i3)
|
|
scm_user_customize () {
|
|
SCM_REPOSITORY="https://github.com/hasufell/i3-window-icons.git"
|
|
SCM_BRANCH="4.17.1/icons"
|
|
}
|
|
;;
|
|
games-fps/urbanterror)
|
|
EXTRA_WGET="--no-check-certificate"
|
|
;;
|
|
esac
|
|
|
|
case "${REPOSITORY}" in
|
|
hasufell-binhost)
|
|
EXTRA_WGET="--no-check-certificate"
|
|
;;
|
|
esac
|
|
|
|
# idiotic mysql package dies in pkg_pretend otherwise
|
|
MYSQL_MAJOR_UPGRADE="YesPlease"
|