File: add-latomic-linking-as-needed.patch

package info (click to toggle)
nfs-ganesha 5.9-5~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 12,380 kB
  • sloc: ansic: 169,436; cpp: 7,452; perl: 5,828; python: 4,727; sh: 2,642; lex: 763; yacc: 414; makefile: 102; awk: 22; lisp: 20
file content (10 lines) | stat: -rw-r--r-- 231 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1267,6 +1267,7 @@ set(SYSTEM_LIBRARIES
   ${KRB5_LIBRARIES}
   ${CMAKE_THREAD_LIBS_INIT}
   ${LIBURCU_LIB}
+  -Wl,--as-needed -latomic
 )
 
 include_directories(${LIBURCU_INC})