summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2020-10-19 23:50:29 +0200
committerAvatar Marvin Schmidt <marv@exherbo.org> 2020-10-19 23:53:57 +0200
commitef52219fb870c684f7bc404b93003f409cfa833c (patch)
tree4588c62e9a0c87233d5756160a544e50945d33d7
parented402e94bd6034e203d24004f46c14d840bc4233 (diff)
downloadarbor-ef52219fb870c684f7bc404b93003f409cfa833c.tar.gz
arbor-ef52219fb870c684f7bc404b93003f409cfa833c.tar.xz
libatomic: Add gcc build dependency
libatomic explicitly uses ${prefix}-gcc-${SLOT} so we have to assure gcc:${SLOT} is present otherwise cave can't order things correctly when installing a new slot: checking whether the C compiler works... no /var/tmp/paludis/build/sys-libs-libatomic-10.2.0/work/gcc-10.2.0/libatomic/configure: line 3387: x86_64-pc-linux-musl-gcc-10: command not found configure: error: in `/var/tmp/paludis/build/sys-libs-libatomic-10.2.0/work/gcc-10.2.0/build/x86_64-pc-linux-musl/libatomic': configure: error: C compiler cannot create executables See `config.log' for more details !!! ERROR in sys-libs/libatomic-10.2.0::arbor: !!! In econf at line 1462 !!! econf failed [snip] Summary: failed: install sys-libs/libatomic-10.2.0:10::arbor to ::installed *** Output log: //var/log/paludis/1603144062-install-sys-libs_libatomic-10.2.0:10::arbor.out skipped: install sys-devel/gcc-10.2.0:10::arbor to ::installed skipped: install sys-libs/libstdc++-10.2.0:10::arbor to ::installed
-rw-r--r--packages/sys-libs/libatomic/libatomic.exlib1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/sys-libs/libatomic/libatomic.exlib b/packages/sys-libs/libatomic/libatomic.exlib
index 7b16e635a..f8c653282 100644
--- a/packages/sys-libs/libatomic/libatomic.exlib
+++ b/packages/sys-libs/libatomic/libatomic.exlib
@@ -16,6 +16,7 @@ MYOPTIONS=""
DEPENDENCIES="
build:
sys-devel/binutils[>=2.20.1] [[ note = [ minimal version of binutils for LTO ] ]]
+ sys-devel/gcc:${SLOT}
"
if [[ ${PV} == *_pre* ]] ; then