hpc / charliecloud

Now hosted on GitLab.
https://gitlab.com/charliecloud/main
Apache License 2.0
312 stars 60 forks source link

fix `$CFLAGS` duplication that we’ve had since 2019 #1882

Closed reidpr closed 8 months ago

reidpr commented 8 months ago

We’ve had duplicate flags in $CC invocations for a long time, I think since the introduction of Autotools in PR 589.

This is because ch_run_CFLAGS is additional flags, which I didn’t realize. This PR removes the duplication.

We also state $CFLAGS in configure and remove an unused variable there.