Skip to content

Commit

Permalink
Disable LTO in Linux x64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti committed Aug 14, 2019
1 parent 7809873 commit f4b4e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"browserify": "browserify -r ./lib/config/context.js:context -r ./lib/http-then.js:http-then -r ./lib/kubebox.js:kubebox -r ./lib/task.js:task -r blessed -r urijs -i clipboardy -u pty.js -u xterm -u term.js -o docs/kubebox.js",
"browserify-debug": "browserify --debug -r ./lib/config/context.js:context -r ./lib/http-then.js:http-then -r ./lib/kubebox.js:kubebox -r ./lib/task.js:task -r blessed -r urijs -i clipboardy -u pty.js -u xterm -u term.js | exorcist docs/kubebox.js.map > docs/kubebox.js",
"bundle": "browserify index.js -o bundle.js -u pty.js -u term.js -u spawn-sync --node",
"executable-linux-x64": "npm run bundle && export CXXFLAGS=\"-O3 -ffunction-sections -fdata-sections\" && export LDFLAGS=\"-Wl,--gc-sections,--strip-all\" && cat bundle.js | nexe -b -c=--enable-lto -c=--fully-static -c=--without-npm -c=--without-dtrace -c=--without-inspector -c=--without-etw -c=--without-perfctr -m=-j$(getconf _NPROCESSORS_ONLN) -t x64-10.16.0 -o kubebox --verbose",
"executable-linux-x64": "npm run bundle && export CXXFLAGS=\"-O3 -ffunction-sections -fdata-sections\" && export LDFLAGS=\"-Wl,--gc-sections,--strip-all\" && cat bundle.js | nexe -b -c=--fully-static -c=--without-npm -c=--without-dtrace -c=--without-inspector -c=--without-etw -c=--without-perfctr -m=-j$(getconf _NPROCESSORS_ONLN) -t x64-10.16.0 -o kubebox --verbose",
"executable-linux-arm": "export CXXFLAGS=\"-O3 -ffunction-sections -fdata-sections\" && export LDFLAGS=\"-Wl,-latomic,--gc-sections,--strip-all\" && cat bundle.js | nexe -b -c=--fully-static -c=--without-npm -c=--without-dtrace -c=--without-inspector -c=--without-etw -c=--without-perfctr --configure=--with-arm-float-abi=hard --configure=--with-arm-fpu=neon -m=-j$(getconf _NPROCESSORS_ONLN) -t arm-10.16.0 -o kubebox --verbose",
"executable-macos": "npm run bundle && cat bundle.js | nexe -t macos-10.16.0 -o kubebox",
"executable-windows": "npm run bundle && cat bundle.js | nexe -t win-10.16.0 -o kubebox"
Expand Down

0 comments on commit f4b4e19

Please sign in to comment.