diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:05:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:05:25 +0000 |
commit | 442479daef42073b8674b417dc2e8d795840cada (patch) | |
tree | 64defc033f1ea952c614d2decf6dad6765606c5a /common.patch | |
parent | 91b50711c409338927af9fae6b24b41ecfa08084 (diff) |
automatic import of freeglutopeneuler24.03_LTS
Diffstat (limited to 'common.patch')
-rw-r--r-- | common.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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") |