diff options
author | Yuta SATOH <nigoro@gentoo.gr.jp> | 2015-08-22 21:18:42 +0900 |
---|---|---|
committer | Yuta SATOH <nigoro@gentoo.gr.jp> | 2015-08-22 21:18:42 +0900 |
commit | 88393869d5034e779bc3b9c8ca16d3f232cd42e1 (patch) | |
tree | 1e61c3926efdc34dc7686f374d70b83dfa62f3e8 | |
parent | automatic_updater.sh: added MAKEOPTS=-j1 and force set gcc to CC,CXX. (diff) | |
download | gentoo-bsd-88393869d5034e779bc3b9c8ca16d3f232cd42e1.tar.gz gentoo-bsd-88393869d5034e779bc3b9c8ca16d3f232cd42e1.tar.bz2 gentoo-bsd-88393869d5034e779bc3b9c8ca16d3f232cd42e1.zip |
automatic_updater.sh: support FreeBSD 10.2 amd64/clang environment.
-rwxr-xr-x | scripts/automatic_updater.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/automatic_updater.sh b/scripts/automatic_updater.sh index 4d620d6..3749286 100755 --- a/scripts/automatic_updater.sh +++ b/scripts/automatic_updater.sh @@ -94,15 +94,15 @@ update_freebsd_userland(){ fi emerge -C dev-libs/libelf dev-libs/libexecinfo dev-libs/libiconv sys-process/fuser-bsd && : - CC=gcc CXX=g++ emerge --nodeps sys-freebsd/freebsd-libexec - CC=gcc CXX=g++ USE=build MAKEOPTS=-j1 emerge --nodeps sys-freebsd/freebsd-lib + CC=gcc CXX=g++ CXXFLAGS="-O2 -pipe" emerge --nodeps sys-freebsd/freebsd-libexec + CC=gcc CXX=g++ CXXFLAGS="-O2 -pipe" USE=build MAKEOPTS=-j1 emerge --nodeps sys-freebsd/freebsd-lib + CC=gcc CXX=g++ CXXFLAGS="-O2 -pipe" USE=build emerge --nodeps sys-freebsd/freebsd-share + [[ -e /etc/portage/profile/package.use.mask ]] && gsed -i '/sys-freebsd\/freebsd-libexec abi_x86_32/d' /etc/portage/profile/package.use.mask + + CC=gcc CXX=g++ CXXFLAGS="-O2 -pipe" emerge boot0 freebsd-bin freebsd-lib freebsd-libexec freebsd-mk-defs freebsd-pam-modules freebsd-sbin freebsd-share freebsd-ubin freebsd-usbin if [[ -e /usr/lib/libc++.so ]] ; then emerge -uN sys-libs/libcxx sys-libs/libcxxrt --exclude sys-freebsd/* fi - USE=build emerge --nodeps sys-freebsd/freebsd-share - [[ -e /etc/portage/profile/package.use.mask ]] && gsed -i '/sys-freebsd\/freebsd-libexec abi_x86_32/d' /etc/portage/profile/package.use.mask - - emerge boot0 freebsd-bin freebsd-lib freebsd-libexec freebsd-mk-defs freebsd-pam-modules freebsd-sbin freebsd-share freebsd-ubin freebsd-usbin emerge boot0 freebsd-bin freebsd-lib freebsd-libexec freebsd-mk-defs freebsd-pam-modules freebsd-sbin freebsd-share freebsd-ubin freebsd-usbin } |