Skip to content

Commit e4d5a98

Browse files
committed
dockerfile: install native gcc compiler in cross compiler setup
libnvme uses a code generator which runs in the host, thus needs a native C compiler Signed-off-by: Daniel Wagner <[email protected]>
1 parent 91b16fc commit e4d5a98

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile.ubuntu.armhf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN dpkg --add-architecture armhf && \
1515
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
1616
apt-get install --no-install-recommends -y \
1717
meson pkg-config ca-certificates git qemu-user-static \
18-
gcc-arm-linux-gnueabihf libc-dev:armhf libjson-c-dev:armhf \
18+
gcc gcc-arm-linux-gnueabihf libc-dev:armhf libjson-c-dev:armhf \
1919
xz-utils && \
2020
apt-get clean && \
2121
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Dockerfile.ubuntu.ppc64le

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN dpkg --add-architecture ppc64el && \
1515
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
1616
apt-get install --no-install-recommends -y \
1717
meson pkg-config ca-certificates git qemu-user-static \
18-
gcc-powerpc64le-linux-gnu libc-dev:ppc64el libjson-c-dev:ppc64el \
18+
gcc gcc-powerpc64le-linux-gnu libc-dev:ppc64el libjson-c-dev:ppc64el \
1919
xz-utils && \
2020
apt-get clean && \
2121
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Dockerfile.ubuntu.s390x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN dpkg --add-architecture s390x && \
1515
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
1616
apt-get install --no-install-recommends -y \
1717
meson pkg-config ca-certificates git qemu-user-static \
18-
gcc-s390x-linux-gnu libc-dev:s390x libjson-c-dev:s390x \
18+
gcc gcc-s390x-linux-gnu libc-dev:s390x libjson-c-dev:s390x \
1919
xz-utils && \
2020
apt-get clean && \
2121
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

0 commit comments

Comments
 (0)