Workaround ld.gold failing with msgfmt

This commit is contained in:
Campbell Barton
2015-05-06 03:23:20 +10:00
parent 35c67d6750
commit 962d53e144

View File

@@ -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
)