]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
automation/alpine: add g++ to the list of build depends
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 1 Mar 2021 09:57:14 +0000 (10:57 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 9 Mar 2021 02:20:59 +0000 (18:20 -0800)
clang++ relies on the C++ headers installed by g++, or else a clang
build will hit the following error:

<built-in>:3:10: fatal error: 'cstring' file not found
#include "cstring"
         ^~~~~~~~~
1 error generated.
make[10]: *** [Makefile:120: headers++.chk] Error 1

Link: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12492
Reported-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
automation/build/alpine/3.12.dockerfile

index 2c02417ee6dcb294b12cedc91d3fef0dd711a0e9..94557e239b3153db932f3765ab802d11d86ae8bf 100644 (file)
@@ -21,6 +21,7 @@ RUN \
   apk add curl-dev && \
   apk add dev86 && \
   apk add gcc  && \
+  apk add g++ && \
   apk add clang  && \
   apk add gettext && \
   apk add git && \