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

package info (click to toggle)
nfs-ganesha 6.5-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,948 kB
  • sloc: ansic: 166,056; cpp: 8,360; perl: 5,828; python: 4,927; sh: 2,777; lex: 764; yacc: 414; makefile: 102; awk: 22; lisp: 20
file content (10 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1308,6 +1308,7 @@ set(SYSTEM_LIBRARIES
   ${KRB5_LIBRARIES}
   ${CMAKE_THREAD_LIBS_INIT}
   ${LIBURCU_LIB}
+  -Wl,--as-needed -latomic
 )
 
 include_directories(${LIBURCU_INC})