From f268c8aadafb773bc156484d26969a615b231320 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 15:05:58 +0000 Subject: automatic import of freeglut --- common.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common.patch (limited to 'common.patch') diff --git a/common.patch b/common.patch new file mode 100644 index 0000000..5bbf1da --- /dev/null +++ b/common.patch @@ -0,0 +1,11 @@ +--- CMakeLists.txt~ 2019-09-25 15:43:34.000000000 -0500 ++++ CMakeLists.txt 2020-01-31 09:26:24.104743210 -0600 +@@ -302,7 +302,7 @@ + ENDIF() + + IF(CMAKE_COMPILER_IS_GNUCC) +- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") ++ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fcommon") + IF(NOT(ANDROID OR BLACKBERRY OR FREEGLUT_WAYLAND)) + # not setting -ansi as EGL/KHR headers doesn't support it + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic") -- cgit v1.2.3