Skip to content

Commit 85139c2

Browse files
author
DvirDukhan
committed
-fcommon for gcc 10 minimal support
1 parent 3e1058c commit 85139c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ commands:
7979
command: |
8080
git submodule update --init opt/readies
8181
./opt/readies/bin/getpy3
82+
./opt/readies/bin/getgcc --modern
8283
8384
setup-build-system:
8485
steps:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ENDIF()
2222

2323
#----------------------------------------------------------------------------------------------
2424

25-
SET(CMAKE_CC_COMMON_FLAGS "-fPIC")
25+
SET(CMAKE_CC_COMMON_FLAGS "-fPIC -fcommon")
2626
IF (USE_PROFILE)
2727
SET(CMAKE_CC_COMMON_FLAGS "${CMAKE_CC_COMMON_FLAGS} -g -ggdb -fno-omit-frame-pointer")
2828
ENDIF()

0 commit comments

Comments
 (0)