aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2017-08-10 20:42:46 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2017-08-10 20:48:41 +0000
commitc65c147eedc2e17c985157595ed3927ab7537d7e (patch)
tree1fd7acb7ecd4d018eb30468756067c3064634756
parent4955923398ef29edfd62d3cc0f0ecb44b05c3d0b (diff)
Link with static libgcc to avoid unresolved symbol __cpu_model when
creating shared library.
-rw-r--r--vespalib/src/vespa/vespalib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/CMakeLists.txt b/vespalib/src/vespa/vespalib/CMakeLists.txt
index 156c5dc7534..480caf8f28d 100644
--- a/vespalib/src/vespa/vespalib/CMakeLists.txt
+++ b/vespalib/src/vespa/vespalib/CMakeLists.txt
@@ -21,4 +21,5 @@ vespa_add_library(vespalib
INSTALL lib64
DEPENDS
vespalib_vespalib_test
+ gcc
)