We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b9d010 commit 0d91cc9Copy full SHA for 0d91cc9
1 file changed
c/cmake_modules/GoUtils.cmake
@@ -142,8 +142,8 @@ function(add_go_lib GO_MOD_DIR GO_LIBNAME)
142
143
set(GO_ENV_VARS)
144
list(APPEND GO_ENV_VARS "CGO_ENABLED=1")
145
- list(APPEND GO_ENV_VARS "CGO_CFLAGS=\"${GO_FLAGS}\"")
146
- list(APPEND GO_ENV_VARS "CGO_CXXFLAGS=\"${GO_FLAGS}\"")
+ list(APPEND GO_ENV_VARS "CGO_CFLAGS=${GO_FLAGS}")
+ list(APPEND GO_ENV_VARS "CGO_CXXFLAGS=${GO_FLAGS}")
147
148
if(BUILD_SHARED)
149
set(LIB_NAME_SHARED
0 commit comments