-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[libflac] add wasm port support #36080
Conversation
@microsoft-github-policy-service agree |
ports/libflac/fix-wasm.patch
Outdated
- if(NOT MSVC) | ||
+ if(NOT MSVC AND NOT EMSCRIPTEN) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need a patch, or can it be configured by WITH_STACK_PROTECTOR
?
Is the patch sent upstream?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I submitted a pull request for this in the flac repo: xiph/flac#664
I don't know if WITH_STACK_PROTECTOR
can be configured instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be done in the portfile instead?
set(EXTRA_OPTIONS "")
if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
set(EXTRA_OPTIONS "-DWITH_STACK_PROTECTOR=OFF")
endif()
...
vcpkg_cmake_configure(
...
OPTIONS
${EXTRA_OPTIONS}
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vicroms I updated my pull request to use -DWITH_STACK_PROTECTOR=OFF
instead of patch.
253c858
to
6b6c97a
Compare
I'm closing this since this has been resolved in a different pull request. Thanks. |
./vcpkg x-add-version --all
and committing the result.