Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
cf442785
Commit
cf442785
authored
Apr 30, 2018
by
yonghong-song
Committed by
GitHub
Apr 30, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1720 from iovisor/yhs_dev
fix compilation with latest clang/llvm 7.0
parents
d07e2ecb
46ebd9ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/cc/CMakeLists.txt
src/cc/CMakeLists.txt
+4
-2
No files found.
src/cc/CMakeLists.txt
View file @
cf442785
...
...
@@ -62,9 +62,11 @@ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${llvm_lib_exclude_f
# bcc_common_libs_for_a for archive libraries
# bcc_common_libs_for_s for shared libraries
set
(
bcc_common_libs_for_a b_frontend clang_frontend bpf-static
-Wl,--whole-archive
${
clang_libs
}
${
llvm_libs
}
-Wl,--no-whole-archive
${
LIBELF_LIBRARIES
}
)
set
(
bcc_common_libs_for_s b_frontend clang_frontend bpf-static
${
clang_libs
}
${
llvm_libs
}
${
LIBELF_LIBRARIES
}
)
set
(
bcc_common_libs_for_s
${
bcc_common_libs_for_a
}
)
set
(
bcc_common_libs_for_lua
${
bcc_common_libs_for_a
}
)
set
(
bcc_common_libs_for_lua
${
bcc_common_libs_for_s
}
)
if
(
ENABLE_CPP_API
)
add_subdirectory
(
api
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment