8973f5c
--- CMakeLists.txt~	2019-09-25 15:43:34.000000000 -0500
8973f5c
+++ CMakeLists.txt	2020-01-31 09:26:24.104743210 -0600
8973f5c
@@ -302,7 +302,7 @@
8973f5c
 ENDIF()
8973f5c
 
8973f5c
 IF(CMAKE_COMPILER_IS_GNUCC)
8973f5c
-  SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
8973f5c
+  SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fcommon")
8973f5c
   IF(NOT(ANDROID OR BLACKBERRY OR FREEGLUT_WAYLAND))
8973f5c
     # not setting -ansi as EGL/KHR headers doesn't support it
8973f5c
     SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic")