Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-05-05 20:23:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-05-05 20:23:20 +0300
commit962d53e144149ab75ea28327ccbb22e91fa5d91e (patch)
tree0125171b7015507738980e9c0c50a5124d6bf537 /intern/locale
parent35c67d6750627fd19a36dd3b527b57d19704334d (diff)
Workaround ld.gold failing with msgfmt
Diffstat (limited to 'intern/locale')
-rw-r--r--intern/locale/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/locale/CMakeLists.txt b/intern/locale/CMakeLists.txt
index 5d933f326f7..6896702fcbf 100644
--- a/intern/locale/CMakeLists.txt
+++ b/intern/locale/CMakeLists.txt
@@ -63,6 +63,12 @@ blender_add_lib(bf_intern_locale "${SRC}" "${INC}" "${INC_SYS}")
# -----------------------------------------------------------------------------
# Build msgfmt executable
+
+if(CMAKE_COMPILER_IS_GNUCC)
+ # workaroud ld.gold linker bug
+ string(REPLACE "-fuse-ld=gold" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
+endif()
+
set(MSFFMT_SRC
msgfmt.cc
)