File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,8 @@ if(ENABLE_GOLD_LINKER)
127127
128128 # Issue 2785: check gold binutils version and don't use gc-sections for versions prior 2.25
129129 string (REGEX REPLACE ".*\\ (GNU Binutils[^\\ )0-9]+([0-9]+\\ .[0-9]+)[^\\ )]*\\ ).*" "\\ 1" GOLD_BINUTILS_VERSION "${LD_VERSION} " )
130- if ("${GOLD_BINUTILS_VERSION} " VERSION_LESS "2.25 " )
131- message (STATUS "Disabling gc-sections on gold binutils < 2.25 , see: https://sourceware.org/bugzilla/show_bug.cgi?id=17639" )
130+ if ("${GOLD_BINUTILS_VERSION} " VERSION_LESS "2.26 " )
131+ message (STATUS "Disabling gc-sections on gold binutils < 2.26 , see: https://sourceware.org/bugzilla/show_bug.cgi?id=17639" )
132132 set (LD_AVOID_GC_SECTIONS TRUE )
133133 endif ()
134134 else ()
You can’t perform that action at this time.
0 commit comments