Ship It!
-
usr/src/Makefile.master (Diff revision 1) -
There must be a better way of doing this. Something that's more flexible. I know that there are folks that are going to hate me for saying this, but I think we should add some version specific variables. FreeBSD does (or did) if I recall correctly. Really what I want to see is something like this: $(__GCCGT4)CCNOAUTOINLINE += -_gcc=-fno-ipa-icf $(__GCCGT4)CCNOAUTOINLINE += -_gcc=-fno-clone-functions
Review request changed
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+6) |
Do we want to introduce a next here versus using things based on the updated cw work that Rich did that let us define profiles for different compilers?
It seems like that'll let us have what we want in terms of setting things on a per-compiler basis.
I can only repeat what I said on the mailing list:
Wouldn't ccompile.h be the proper place for such compiler-specific settings?