diff options
author | 2016-03-21 07:43:56 +0900 | |
---|---|---|
committer | 2016-03-21 07:43:56 +0900 | |
commit | e890a963a505f2a7c3927b368521b6a03740caf9 (patch) | |
tree | 273893eb7df6607d682fe89c41148739c0e6faef | |
parent | automatic_updater.sh: added update clang. (diff) | |
download | gentoo-bsd-e890a963a505f2a7c3927b368521b6a03740caf9.tar.gz gentoo-bsd-e890a963a505f2a7c3927b368521b6a03740caf9.tar.bz2 gentoo-bsd-e890a963a505f2a7c3927b368521b6a03740caf9.zip |
automatic_updater.sh: clang updated twice.
-rwxr-xr-x | scripts/automatic_updater.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/automatic_updater.sh b/scripts/automatic_updater.sh index b49d2b2..1439751 100755 --- a/scripts/automatic_updater.sh +++ b/scripts/automatic_updater.sh @@ -82,7 +82,10 @@ update_toolchain(){ source /etc/profile emerge sys-devel/libtool --exclude sys-freebsd/* emerge sys-devel/binutils --exclude sys-freebsd/* - type -P clang > /dev/null && emerge -u sys-devel/clang --exclude sys-freebsd/* + if type -P clang > /dev/null ; then + CC=gcc CXX=g++ CXXFLAGS="-O2 -pipe" emerge -u sys-devel/clang --exclude sys-freebsd/* + emerge sys-devel/llvm sys-devel/clang --exclude sys-freebsd/* + fi } remove_pmask(){ |