Recommended CFLAGS for my hardware
by doskanoness from LinuxQuestions.org on (#5QQVR)
Hi guys.
I'm going to install Gentoo on the laptop with Intel Core i7-8750H CPU, and I'm going to compile packages inside LXD container for the Lenovo ThinkPad T400 with Intel Core2 P8600 CPU.
I have two questions:
1) Will -march=native -O2 -pipe CFLAGS be fine for direct installation on the machine with Intel Core i7-8750H?
2) Will -march=core2 -O2 -pipe CFLAGS be okay for the container containing compiled packages for ThinkPad T400?
Thanks.
I'm going to install Gentoo on the laptop with Intel Core i7-8750H CPU, and I'm going to compile packages inside LXD container for the Lenovo ThinkPad T400 with Intel Core2 P8600 CPU.
I have two questions:
1) Will -march=native -O2 -pipe CFLAGS be fine for direct installation on the machine with Intel Core i7-8750H?
2) Will -march=core2 -O2 -pipe CFLAGS be okay for the container containing compiled packages for ThinkPad T400?
Thanks.