[Bf-blender-cvs] [962d53e] master: Workaround ld.gold failing with msgfmt
Campbell Barton
noreply at git.blender.org
Tue May 5 19:24:32 CEST 2015
Commit: 962d53e144149ab75ea28327ccbb22e91fa5d91e
Author: Campbell Barton
Date: Wed May 6 03:23:20 2015 +1000
Branches: master
https://developer.blender.org/rB962d53e144149ab75ea28327ccbb22e91fa5d91e
Workaround ld.gold failing with msgfmt
===================================================================
M intern/locale/CMakeLists.txt
===================================================================
diff --git a/intern/locale/CMakeLists.txt b/intern/locale/CMakeLists.txt
index 5d933f3..6896702 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
)
More information about the Bf-blender-cvs
mailing list