build fix

This commit is contained in:
2025-02-07 16:21:42 +08:00
parent ef0a1f5d91
commit bc3c5a8f9d
387 changed files with 5651 additions and 27 deletions

9
externals/libyuv/util/Makefile vendored Normal file
View File

@@ -0,0 +1,9 @@
psnr: psnr.cc ssim.cc psnr_main.cc
ifeq ($(CXX),icl)
$(CXX) /arch:SSE2 /Ox /openmp psnr.cc ssim.cc psnr_main.cc
else
$(CXX) -msse2 -O3 -fopenmp -static -o psnr psnr.cc ssim.cc psnr_main.cc -Wl,--strip-all
endif
# for MacOS
# /usr/local/bin/g++-7 -msse2 -O3 -fopenmp -Bstatic -o psnr psnr.cc ssim.cc psnr_main.cc