Skip to content

Commit 60b22e3

Browse files
authored
Merge pull request #2955 from Guobing-Chen/Fix_cooperlake_build_issue
Fix cooperlake compile issue
2 parents 67f39ad + c5e62da commit 60b22e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.system

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ ifeq ($(GCCVERSIONGTEQ7),1)
319319
else
320320
GCCDUMPVERSION_PARAM := -dumpversion
321321
endif
322+
GCCMINORVERSIONGTEQ1 := $(shell expr `$(CC) $(GCCDUMPVERSION_PARAM) | cut -f2 -d.` \>= 1)
322323
GCCMINORVERSIONGTEQ2 := $(shell expr `$(CC) $(GCCDUMPVERSION_PARAM) | cut -f2 -d.` \>= 2)
323324
GCCMINORVERSIONGTEQ7 := $(shell expr `$(CC) $(GCCDUMPVERSION_PARAM) | cut -f2 -d.` \>= 7)
324325
endif

0 commit comments

Comments
 (0)