Skip to content

Commit c5e62da

Browse files
committed
Fix cooperlake compile issue
Add a missing macro which is required in Makefile.x86_64 due to recent clearnup, which causes cooperlake platform build failure.
1 parent 67f39ad commit c5e62da

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)