Skip to content

Commit

Permalink
rustc: Update from version 1.16.0 to 1.21.0
Browse files Browse the repository at this point in the history
needed for Firefox
revision 1: build with cargo and snapshot system
revision 2: rebuild with system rustc
  • Loading branch information
david committed Nov 17, 2017
1 parent bd9484f commit a6b6624
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions rustc.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION rustc-1.16.0-0
# BEE_VERSION rustc-1.21.0-2

SRCURL[0]="https://static.rust-lang.org/dist/rustc-${PKGVERSION}-src.tar.gz"

Expand All @@ -26,11 +26,17 @@ export RUST_BACKTRACE=1
mee_configure() {
#rust creates .cargo dir in your home
export HOME=${S}
${S}/configure --prefix=${PREFIX}
${S}/configure --prefix=${PREFIX} \
--mandir=${MANDIR} \
--libdir=${LIBDIR} \
--enable-local-rust \
--disable-rpath \
--enable-extended \
--disable-codegen-tests
}

mee_build() {
start_cmd make ${BEE_MAKEFLAGS}
CC=clang CXX=clang++ start_cmd make ${BEE_MAKEFLAGS}
}

mee_install() {
Expand Down

0 comments on commit a6b6624

Please sign in to comment.