Skip to content

Commit

Permalink
build(xsnap): use -D__has_builtin(x)=1 to avoid divergence
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Jun 27, 2023
1 parent 8c0a9a4 commit a2b48e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/xsnap/src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ async function main(args, { env, stdout, spawn, fs, os }) {
`MODDABLE=${ModdableSDK.MODDABLE}`,
`GOAL=${goal}`,
`XSNAP_VERSION=${pkg.version}`,
`CC=cc "-D__has_builtin(x)=1"`,
'-f',
'xsnap-worker.mk',
],
Expand Down

0 comments on commit a2b48e1

Please sign in to comment.