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

fix(build): don't apply noexecstack to windows builds #1861

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

igormp
Copy link
Contributor

@igormp igormp commented Mar 4, 2025

The changes introduced by #1852 assumed all Windows builds would be done with MSVC, which is obviously not the case. Builds done with other compilers would fall upon that noexecstack branch and fail if one were to build this with gcc or clang on Windows.

Instead, we should be not adding those extra flags in case we're on MacOS or Windows.

Fixes #1859

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.

lld: error: unknown argument: -z
1 participant