Théo Cavignac
unread,Oct 11, 2023, 6:13:17 PM10/11/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tup-...@googlegroups.com
Hi,
I'd like to propose a new feature:
I use the import keyword to let the user customize some aspects of the
build (typically CFLAGS/LFLAGS). It would be nice if those where also
"imported" in generate script. Right now the variables are expanded in
the script with the current value at the default value (it seems to
ignore the environment when using generate, which might be a bug now
that I think about it).
The proposed behavior would be instead to have the variable slot
replaced by its bash equivalent in the commands, and a supplementary
line of the form "FOO=${FOO:-default value here}" added at the begining
of the script.
I would be willing to implement the feature (if doable).
I would need a few pointers to find my way around as I can write C, but
I don't know this codebase at all.
Bests,
Théo Cavignac