Ver Fonte

Work-around for gcc bug 1568899.

Anders Ruud há 9 anos atrás
pai
commit
d896f7f871
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      CMakeLists.txt

+ 3 - 0
CMakeLists.txt

@@ -199,6 +199,9 @@ Please see http://bitbucket.org/rude/megasource
 		${VORBISFILE_LIBRARY}
 		${LOVE_LUA_LIBRARY}
 	)
+	
+	# Work-around for gcc bug 1568899.
+	set(LOVE_LINK_LIBRARIES ${LOVE_LINK_LIBRARIES} gcc_s gcc)
 
 	if(LOVE_MPG123)
 		find_package(MPG123 REQUIRED)