We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a0ede commit c972c27Copy full SHA for c972c27
meson.build
@@ -880,6 +880,10 @@ elif host_os == 'openbsd'
880
# Disable OpenBSD W^X if available
881
emulator_link_args = cc.get_supported_link_arguments('-Wl,-z,wxneeded')
882
endif
883
+elif host_os == 'emscripten'
884
+ if get_option('optimization') != 'plain'
885
+ emulator_link_args += ['-O' + get_option('optimization')]
886
+ endif
887
888
889
###############################################
0 commit comments