From 3c992fc1b4e9667e40fe08193ae02330ad0af8c7 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Wed, 2 Aug 2017 22:30:15 +0100 Subject: [PATCH] Add architecture variable to glibc build step --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9154ef0..ca501b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,8 +41,8 @@ RUN curl -L https://ftp.gnu.org/gnu/glibc/glibc-${GLIBC_VER}.tar.xz | tar xJ && echo "rootsbindir=/bin" >> configparms && \ \ # Fix debian lib path weirdness - rm -rf /usr/include/x86_64-linux-gnu/c++ && \ - ln -s /usr/include/x86_64-linux-gnu/* /usr/include && \ + rm -rf /usr/include/${ARCH}-linux-gnu/c++ && \ + ln -s /usr/include/${ARCH}-linux-gnu/* /usr/include && \ \ ../glibc-${GLIBC_VER}/configure \ --prefix="$(pwd)/root" \