Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add -fno-common compile option
[vpp.git]
/
src
/
cmake
/
library.cmake
diff --git
a/src/cmake/library.cmake
b/src/cmake/library.cmake
index
984d6eb
..
747aeb4
100644
(file)
--- a/
src/cmake/library.cmake
+++ b/
src/cmake/library.cmake
@@
-20,7
+20,7
@@
macro(add_vpp_library lib)
)
add_library(${lib} SHARED ${ARG_SOURCES})
- target_compile_options(${lib} PRIVATE -Wall)
+ target_compile_options(${lib} PRIVATE -Wall
-fno-common
)
if(VPP_LIB_VERSION)
set_target_properties(${lib} PROPERTIES SOVERSION ${VPP_LIB_VERSION})
endif()