serpent-os / boulder-d-legacy

Replaced by Rust tooling
https://serpentos.com
21 stars 7 forks source link

base.yml: Set CGO flags #56

Closed livingsilver94 closed 1 year ago

livingsilver94 commented 1 year ago

These are used when compiling cgo packages.

Couple of notes:

ermo commented 1 year ago
  • Why TERM="dumb"; export TERM instead of just export TERM="dumb"? I thought it's because set -x doesn't print the expanded variable but it does, according to a test.

Because it's easier for the eye to scan for differences that way; otherwise, everything would start with export.

ermo commented 1 year ago
  • In the future we may have more flags: Fortran, Rust, Zig and whatnot. IMO it's wise to split the base script into multiple and single-scoped portions.

May want to put this in an issue so we don't forget?

ermo commented 1 year ago

LGTM, thanks!