Skip to content

Conversation

@rhubert
Copy link
Contributor

@rhubert rhubert commented Jan 23, 2026

No description provided.

Copy link
Member

@jkloetzke jkloetzke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some small things...

--enable-utf8 \
--enable-unicode-properties
--enable-unicode-properties \
--with-sysroot=$(${CC} --print-sysroot)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance you remember why this is needed? This is unusual because the compiler knows the sysroot by itself...

@@ -1,4 +1,4 @@
inherit: [make, install]
inherit: [make, install, 'basement::bits::libs']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually, the basement::bits:: classes are implementation details that should not be inherited by regular recipes. I'd suggest to use cpackage here.

mkdir -p install
DYNAMIC=no
if basementBitsCrossCompiling; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it really about cross compilation or whether the library is built shared or static? In this case cpackageLibraryType (returns static/shared/both) is more appropriate...

checkoutSCM:
scm: url
url: ${SOURCEWARE_MIRROR}/newlib/newlib-${PKG_VERSION}.tar.gz
digestSHA1: "3f2536b591598e8e5c36f20f4d969266f81ab1ed"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure the digest stayed the same? In any case, I'll update it in #299 (commit) as well. Maybe drop the newlib update from this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants