mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 18:02:31 +08:00
Pass SANITIZER_LINK_OPTIONS to CGO
This commit is contained in:
parent
b5084c634d
commit
fb8d021995
@ -43,7 +43,7 @@ set(go_options_file ${GO_DEST}/src/fdb/generated.go)
|
|||||||
|
|
||||||
set(go_env GOPATH=${GOPATH}
|
set(go_env GOPATH=${GOPATH}
|
||||||
C_INCLUDE_PATH=${CMAKE_BINARY_DIR}/bindings/c/foundationdb:${CMAKE_SOURCE_DIR}/bindings/c
|
C_INCLUDE_PATH=${CMAKE_BINARY_DIR}/bindings/c/foundationdb:${CMAKE_SOURCE_DIR}/bindings/c
|
||||||
CGO_LDFLAGS=-L${CMAKE_BINARY_DIR}/lib)
|
CGO_LDFLAGS=-L${CMAKE_BINARY_DIR}/lib\ ${SANITIZER_LINK_OPTIONS})
|
||||||
|
|
||||||
foreach(src_file IN LISTS SRCS)
|
foreach(src_file IN LISTS SRCS)
|
||||||
set(dest_file ${GO_DEST}/${src_file})
|
set(dest_file ${GO_DEST}/${src_file})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user