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 authored and mhofman committed Aug 7, 2023
1 parent 4b4bb0a commit 48a6f55
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 48a6f55

Please sign in to comment.