Build scripts for compiling ffmpeg under OSX / Linux
Ubuntu 22.04 , default install ``` test_ld cc test_cc BEGIN /tmp/ffconf.2jZRRZTb/test.c 1 int main(void){ return 0; } END /tmp/ffconf.2jZRRZTb/test.c gcc -I/home/XXX/compile-ffmpeg-osx-linux/local/include -fPIC -static-libstdc++ -static-libgcc -I/home/XXX/compile-ffmpeg-osx-linux/local/include -mtune=generic -O2 -static-libstdc++ -static-libgcc -fPIC -march=generic -I/usr/local/cuda/include -c -o /tmp/ffconf.2jZRRZTb/test.o /tmp/ffconf.2jZRRZTb/test.c cc1: error: 'generic' CPU can be used only for '-mtune=' switch cc1: error: '-fcf-protection=full' is not supported for this target C compiler test failed. ``` Solved by commenting `#EXTRA_CFLAGS="-march=$tune" `
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by offset8 and has received 1 comments.