How to resolve the error "undefined reference to `__TBB_machine_fetchadd4"

Recently I tried to compile opencv-4.5.3 on my linux environment. It always threw an error “undefined reference to `__TBB_machine_fetchadd4”. I’m not sure how to resolve it. Anyone who came across this error?
Below is my compiler flag:

export CC=/root/sdk_1.0.5/hs_vadf_sdk/prebuilts/jzx1x30/toolchains/mips-gcc520-32bit/bin/mips-linux-gnu-gcc

export CXX=/root/sdk_1.0.5/hs_vadf_sdk/prebuilts/jzx1x30/toolchains/mips-gcc520-32bit/bin/mips-linux-gnu-g++

cmake -D CMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS="-latomic"   -D CMAKE_INSTALL_PREFIX=/usr/local ..

make


I’m waiting for your reply and Thanks for your attention!