Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ksh: fix cross build #29911

Closed
wants to merge 1 commit into from
Closed

ksh: fix cross build #29911

wants to merge 1 commit into from

Conversation

Gottox
Copy link
Member

@Gottox Gottox commented Mar 31, 2021

No description provided.

"$MESON_SOURCE_ROOT/scripts/siglist.sh" > features/siglist.h
# shellcheck disable=SC2086
-$CC -D_BLD_DLL $INC_DIRS -std=gnu99 -o "sfinit" "$MESON_SOURCE_ROOT/etc/sfinit.c"
+cc -D_BLD_DLL $INC_DIRS -std=gnu99 -o "sfinit" "$MESON_SOURCE_ROOT/etc/sfinit.c"
Copy link
Member

Choose a reason for hiding this comment

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

Is this safe?

Generate header files whose content depends on the current platform.

Worries me slightly :/

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right. I thought the build just relied on ast_config.h, but there are other compiler macros used.

configure_args="-Dbuild-api-tests=false -Dbuild-api-tests-only=true"
build_helper="qemu"
configure_args="-Dbuild-api-tests=false -Dbuild-api-tests-only=true
-Dexe_wrapper=qemu-${XBPS_TARGET_QEMU_MACHINE}-static"
Copy link
Member

Choose a reason for hiding this comment

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

I think this is added by default by the build style, isn't it? In the toolchain file.

@Gottox
Copy link
Member Author

Gottox commented Apr 6, 2021

Will be fixed with the new release.

@Gottox Gottox closed this Apr 6, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants