Created attachment 206162 [details]
result of running "cd /usr/ports/graphics/openmp && make"
- FreeBSD 12.0 amd64
- rebuilding hugin after latest version bump (due to gcc8 -> gcc9 switch)
- The build fails right at the beginning with "c++: error: unsupported argument 'libomp -I/usr/local/include -L/usr/local/lib' to option 'fopenmp='"
- logfile attached
It seems that the c compiler should understand an option "-fopenmp=..." but cannot grok the inclusion of -I... and -L... in said option.
I could restart and successfully run to completion the build after the initial failure by editing the file work/.build/build.ninja, removing the double quotes from all lines containing the pattern
(in vi, using
But this is a manual solution.
Somehow the ninja file generated (by CMake?) includes the openmp C flags using double quotes when it should not, but I could not (yet) find out where this happens.