Author josh.r
Recipients josh.r, struktured, zach.ware
Date 2016-11-04.15:07:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478272032.53.0.0869532372491.issue28584@psf.upfronthosting.co.za>
In-reply-to
Content
It's probably bad form, but I've seen people set CC to name/path to compiler followed by switches, e.g.:

   export CC='gcc -march=native -O3'

or the like (usually because they want to keep the build tool's default CFLAGS, and setting CFLAGS causes them to be replaced, not supplemented).

basename seems to strip the leading path components, but if someone shoved in other switches, they aren't removed, so if they happen to have "icc" in them, this would still have issues. Perhaps a basename followed by splitting on whitespace and only keeping the first component? Not a configure expert, not sure what's possible.
History
Date User Action Args
2016-11-04 15:07:12josh.rsetrecipients: + josh.r, zach.ware, struktured
2016-11-04 15:07:12josh.rsetmessageid: <1478272032.53.0.0869532372491.issue28584@psf.upfronthosting.co.za>
2016-11-04 15:07:12josh.rlinkissue28584 messages
2016-11-04 15:07:12josh.rcreate