Hi,
I want to install a desktop environment from ports. But the machine's CPU has a cut-down set of extensions according to wikichip
How would one ensure that clang (and gcc for those math & graphics ports) doesn't try to use the missing avx/avx2 (and anything else)?
I'm guessing something in make.conf, perhaps the 'CFLAGS/CXXFLAGS'?
bsd.cpu.mk doesn't list such crippled CPUs it seems.
Thanks for any insights.
Edit: to clarify this stackoverflow post plus the third answer is kinda what I was wondering about.
I want to install a desktop environment from ports. But the machine's CPU has a cut-down set of extensions according to wikichip
How would one ensure that clang (and gcc for those math & graphics ports) doesn't try to use the missing avx/avx2 (and anything else)?
I'm guessing something in make.conf, perhaps the 'CFLAGS/CXXFLAGS'?
bsd.cpu.mk doesn't list such crippled CPUs it seems.
Thanks for any insights.
Edit: to clarify this stackoverflow post plus the third answer is kinda what I was wondering about.