Skip to content

Commit

Permalink
mod for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxuan8282 committed Jun 7, 2017
1 parent c2d2b5e commit b2e59b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu-debootstrap:14.04
FROM pipill/armhf-ubuntu:14.04
MAINTAINER Sasha Gerrand <[email protected]>
ENV PREFIX_DIR /usr/glibc-compat
ENV GLIBC_VERSION 2.24
ENV GLIBC_VERSION 2.25
RUN apt-get -q update \
&& apt-get -qy install build-essential wget openssl gawk
COPY configparams /glibc-build/configparams
Expand Down
10 changes: 8 additions & 2 deletions builder
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ main() {
--prefix="$prefix" \
--libdir="$prefix/lib" \
--libexecdir="$prefix/lib" \
--enable-multi-arch
make && make install
--with-headers="$prefix/include" \
--disable-multi-arch \
--disable-werror \
--host=armv7l-unknown-linux-gnueabihf \
--build=armv7l-unknown-linux-gnueabihf
install -dm755 "$prefix"/etc
touch "$prefix"/etc/ld.so.conf
make -j "$(getconf _NPROCESSORS_ONLN)" && make install
tar --hard-dereference -zcf "/glibc-bin-$version.tar.gz" "$prefix"
} >&2

Expand Down

0 comments on commit b2e59b5

Please sign in to comment.