kleisauke / wasm-vips

libvips for the browser and Node.js, compiled to WebAssembly with Emscripten.
https://kleisauke.github.io/wasm-vips/
MIT License
463 stars 25 forks source link

Extract common cc+ld flags #30

Closed RReverser closed 1 year ago

RReverser commented 1 year ago

Minor change, but makes it easier to modify common flags from a single place.

Side-note: I'm actually not sure how LDFLAGS works w/o explicit -pthread before this change. I think it was necessary in the past at both compile- and link-time... Unless whatever does final link hardcodes it on its own or picks it from CFLAGS?