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

Do not overwrite default linker flags so that LDFLAGS environment variable is considered #330

Merged
merged 1 commit into from
Apr 11, 2021

Conversation

traversaro
Copy link
Contributor

If one wants to specify additional linked flags, those should be appended to CMAKE_SHARED_LINKER_FLAGS, not overwrite it as this would lead to the LDFLAGS environment variable to be ignored, leading to linking errors in some environments (for example conda).

For more details see:

@diegoferigo
Copy link
Collaborator

Thanks @traversaro for propagating this fix to all our repositories, I'm the responsible of these linker tweaks that got spread around in the past few years 😈

Let's ignore the Website pipeline fail triggered by the push event, what's matters is the one triggered by the pull event, that succeeds. Unfortunately there's no way for push events to know against which channel (stable / nightly) to get tested, and we default with nightly (because with our development cycle it's more common). In any case, these failings happen when stable and nightly channel support different Ignition distributions like right now, and this happens quite rarely.

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

Successfully merging this pull request may close these issues.

2 participants