Add architecture variable to glibc build step

This commit is contained in:
Joe Groocock 2017-08-02 22:30:15 +01:00
parent edf9d6ab29
commit 3c992fc1b4

View File

@ -41,8 +41,8 @@ RUN curl -L https://ftp.gnu.org/gnu/glibc/glibc-${GLIBC_VER}.tar.xz | tar xJ &&
echo "rootsbindir=/bin" >> configparms && \ echo "rootsbindir=/bin" >> configparms && \
\ \
# Fix debian lib path weirdness # Fix debian lib path weirdness
rm -rf /usr/include/x86_64-linux-gnu/c++ && \ rm -rf /usr/include/${ARCH}-linux-gnu/c++ && \
ln -s /usr/include/x86_64-linux-gnu/* /usr/include && \ ln -s /usr/include/${ARCH}-linux-gnu/* /usr/include && \
\ \
../glibc-${GLIBC_VER}/configure \ ../glibc-${GLIBC_VER}/configure \
--prefix="$(pwd)/root" \ --prefix="$(pwd)/root" \