comms/uhd: fix build on GCC architectures

/usr/local/bin/ld: lib/libuhd.so.4.0.0: undefined reference to `__atomic_compare_exchange_16'
/usr/local/bin/ld: lib/libuhd.so.4.0.0: undefined reference to `__atomic_store_16'
/usr/local/bin/ld: lib/libuhd.so.4.0.0: undefined reference to `__atomic_load_16'
This commit is contained in:
Piotr Kubaj 2020-12-27 18:39:07 +00:00
parent d34c78a802
commit b4a39dbfaa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559397

View File

@ -45,6 +45,9 @@ CMAKE_SOURCE_PATH= ${WRKSRC}/host
#CXXFLAGS_amd64= -msse2 -std=c++11
CXXFLAGS_i386= -msse2
LDFLAGS+= ${LDFLAGS_${CHOSEN_COMPILER_TYPE}}
LDFLAGS_gcc= -latomic
SHEBANG_GLOB= *.py *.py.in
CMAKE_ARGS+= -DPKG_LIB_DIR:STRING="share/uhd" -DUHD_TXRX_DEBUG_PRINTS="yes"