chore: Update platform optimization flags for Linux

This commit is contained in:
Mauro Balades 2024-07-28 23:36:15 +02:00
parent 5116b2d0ab
commit b48a48509e
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.1.5", "version": "1.1.6",
"description": "Simplifying building firefox forks!", "description": "Simplifying building firefox forks!",
"main": "index.js", "main": "index.js",
"bin": { "bin": {

View file

@ -67,7 +67,7 @@ function getPlatformOptimiseFlags(): string {
switch ((process as any).surferPlatform) { switch ((process as any).surferPlatform) {
case 'linux': { case 'linux': {
optimiseFlags = `ac_add_options --enable-optimize="-march=x86-64-v3 -msse3 -mtune=haswell -O3 -w -mavx -maes"` optimiseFlags = `ac_add_options --enable-optimize="-march=nehalem -mtune=znver3 -msse3 -O3 -w -mavx -maes"`
break break
} }
case 'darwin': { case 'darwin': {