aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-08-10 22:58:42 +0200
committerGitHub <noreply@github.com>2017-08-10 22:58:42 +0200
commit71983f66ff47881fa8ab4704669d565793835b43 (patch)
tree3f494e35f2a8883bf7270cd0d586256974f7f887
parentc10d775aaeca229be4feacd8dbbd05780b0c3ea3 (diff)
parentc65c147eedc2e17c985157595ed3927ab7537d7e (diff)
Merge pull request #3075 from vespa-engine/toregge/link-with-static-libgcc
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
)