mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
Copy missing .o and .a files from prefix into the gcc package (Janky fix)
This commit is contained in:
parent
b87024711a
commit
76c77039cc
@ -41,5 +41,8 @@ COOKBOOK_CONFIGURE_FLAGS=(
|
||||
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" all-gcc
|
||||
"${COOKBOOK_MAKE}" install-gcc DESTDIR="${COOKBOOK_STAGE}"
|
||||
ln -s "gcc" "${COOKBOOK_STAGE}/bin/cc"
|
||||
ln -s "/libexec/gcc/${GNU_TARGET}/13.2.0/cc1" "${COOKBOOK_STAGE}/bin/cc1"
|
||||
mkdir -p "${COOKBOOK_STAGE}/usr/libexec"
|
||||
ln -s "/libexec/gcc" "${COOKBOOK_STAGE}/usr/libexec/gcc"
|
||||
# TODO These files should be created in a recipe and added as a dependency for gcc13
|
||||
cp -fpv "${COOKBOOK_HOST_SYSROOT}"/lib/gcc/"${GNU_TARGET}"/13.2.0/{*.o,*.a} "${COOKBOOK_STAGE}/lib"
|
||||
"""
|
||||
|
||||
@ -6,7 +6,6 @@ branch = "redox"
|
||||
template = "custom"
|
||||
script = """
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
# "${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" build-tests
|
||||
mkdir -pv "${COOKBOOK_STAGE}/share/openposixtests"
|
||||
rsync -av --delete . "${COOKBOOK_STAGE}/share/openposixtestsuite"
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user