Closed random2324 closed 3 years ago
On the other hand shouldnt be the intention of the config file to override my cflags?
If my understanding is correct, that's exactly what you're doing: flags that come later override the previous ones (for instance, if you have -O3
, the compiler will just ignore the system-wide default of -O2
), so having "flags applied twice" doesn't really affect anything.
sudoBash418 explained it all :+1: Closing.
I actually dont know it this is an error on my side. But it seems that the PKGBUILD apply the cflags twice. One from the system and another one from the config file.
Anyway, this is how it looks on my end:
I turned this now into:
And received:
Even though ninja summary still looking wrong:
So I dont know if thats intended. Maybe its also a bad idea to make -march=native the default system wide. On the other hand shouldnt be the intention of the config file to override my cflags?