We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-fcommon
1 parent e89205f commit 5c804d2Copy full SHA for 5c804d2
1 file changed
cmake/BuildPDAF.cmake
@@ -145,6 +145,7 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
145
list(APPEND PDAF_FOPT "-ffree-form")
146
# list(APPEND PDAF_FOPT "-fopenmp")
147
list(APPEND PDAF_FOPT "-fallow-argument-mismatch")
148
+ list(APPEND PDAF_FOPT "-fcommon")
149
150
else()
151
message(FATAL_ERROR "Unsupported CMAKE_CXX_COMPILER_ID: ${CMAKE_CXX_COMPILER_ID}")
@@ -192,6 +193,7 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
192
193
list(APPEND PDAF_COPT "-fno-automatic")
194
list(APPEND PDAF_COPT "-finit-local-zero")
195
list(APPEND PDAF_COPT "-mcmodel=large")
196
+ list(APPEND PDAF_COPT "-fcommon")
197
198
199
0 commit comments