Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions crossdev
Original file line number Diff line number Diff line change
Expand Up @@ -1955,15 +1955,17 @@ if ! ex_fast ; then
# first install headers if requested
if with_headers ; then
# install kernel headers (since the C library often uses them)
USE="${KUSE} ${USE} headers-only" doemerge ${KPKG} ${KPKG}-quick
USE="${KUSE} ${USE} headers-only" \
EOPTS="${EOPTS}$(is_s2 && printf ' --buildpkg=n')" \
doemerge ${KPKG} ${KPKG}-quick

if [[ -n ${LPKG} ]] ; then
# install C library headers
# we have to use --nodeps as glibc itself might have
# a dependency on newer gcc versions that we don't
# care about at this point -- we aren't compiling yet
USE="${LUSE} ${USE} ${LUSE_DISABLE} headers-only" \
EOPTS="${EOPTS} --nodeps" \
EOPTS="${EOPTS} --nodeps$(is_s3 && printf ' --buildpkg=n')" \
doemerge ${LPKG} ${LPKG}-headers
fi
fi
Expand All @@ -1975,6 +1977,7 @@ if ! ex_fast ; then
doemerge ${RPKG}
else
USE="${GUSE} ${USE} ${GUSE_DISABLE_STAGE_1}" \
EOPTS="${EOPTS}$(is_s4 && printf ' --buildpkg=n')" \
doemerge ${GPKG} ${GPKG}-stage1
fi

Expand All @@ -1985,6 +1988,7 @@ if ! ex_fast ; then
set_eopts_on_pkg_status ${KPKG} headers-only

USE="${KUSE} ${USE} headers-only" \
EOPTS="${EOPTS}$([[ ${K2PKG} != "[none]" ]] && printf ' --buildpkg=n')" \
doemerge ${KPKG} ${KPKG}-stage1

if [[ ${K2PKG} != "[none]" ]] ; then
Expand All @@ -1993,6 +1997,7 @@ if ! ex_fast ; then
set_eopts_on_pkg_status ${K2PKG} headers-only

USE="${KUSE} ${USE} headers-only" \
EOPTS="${EOPTS}$(is_s3 && printf ' --buildpkg=n')" \
doemerge ${K2PKG} ${K2PKG}-stage1

# Go again now we have it.
Expand All @@ -2006,6 +2011,7 @@ if ! ex_fast ; then
set_eopts_on_pkg_status ${K3PKG} headers-only

USE="${KUSE} ${USE} headers-only" \
EOPTS="${EOPTS}$(is_s3 && printf ' --buildpkg=n')" \
doemerge ${K3PKG} ${K3PKG}-stage1
fi
fi
Expand Down
Loading