Open ostash opened 5 years ago
+1. It is better to set compilation flags externally. Compilation harness requirements might be different for different distros/needs. No need to guess and force.
@ljia5 , could you help to check it, some flags should be decide by user.
Hello,
Currently, a lot of compiler flags is forcefully set in media_driver/cmake/linux/media_compile_flags_linux.cmake
This makes packaging driver by distributions complicated, as compilation flags (-march, -mtune, etc) should be passed from distribution rules (RPM specs, debian/rules, Gentoo ebuilds/make.conf, etc.).
Please, remove most of them.