chore: Update platform optimization flags for macOS and Windows

This commit is contained in:
Mauro Balades 2024-07-12 19:42:23 +02:00
parent 4fca57ddd8
commit b3de40ec1c
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "@zen-browser/surfer", "name": "@zen-browser/surfer",
"version": "1.0.13", "version": "1.0.14",
"description": "Simplifying building firefox forks!", "description": "Simplifying building firefox forks!",
"main": "index.js", "main": "index.js",
"bin": { "bin": {

View file

@ -68,7 +68,7 @@ function getPlatformOptimiseFlags(): string {
break break
} }
case 'darwin': { case 'darwin': {
optimiseFlags = `ac_add_options --enable-optimize="-O3 -march=nehalem -mtune=haswell -w"` optimiseFlags = `ac_add_options --enable-optimize="-mcpu=apple-m1 -O3 -w"`
break break
} }
case 'win32': { case 'win32': {