Libgomp uses pthreads internally and it's usually sufficient to to specify -fopenmp in CFLAGS to pick up the required libs. Some configure scripts (e.g. ffmpeg) don't pass these through from pkg-config and only use --libs, so setting it here is necessary for static builds.
Libgomp uses pthreads internally and it's usually sufficient to to specify
-fopenmp
in CFLAGS to pick up the required libs. Some configure scripts (e.g. ffmpeg) don't pass these through from pkg-config and only use--libs
, so setting it here is necessary for static builds.