View | Details | Raw Unified | Return to bug 237058 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-Makefile.rules (+11 lines)
Line 0 Link Here
1
--- Makefile.rules.orig	2019-04-04 14:46:29 UTC
2
+++ Makefile.rules
3
@@ -68,7 +68,7 @@ ifneq ($(findstring darwin,$(OSARCH)),)
4
 endif
5
 
6
 # gcc version 8.2.1 and above must have partial-inlining disabled to avoid documented bug
7
-GCC_VER_GTE821:=$(shell expr `gcc --version | grep ^gcc | cut -d ' ' -f 3 | sed -e 's/\.\([0-9][0-9]\)/\1/g' -e 's/\.\([0-9]\)/0\1/g' -e 's/^[0-9]\{3,4\}$$/&00/'` \>= 80201)
8
+GCC_VER_GTE821:=$(shell expr `$(CC) --version | grep ^gcc | cut -d ' ' -f 3 | sed -e 's/\.\([0-9][0-9]\)/\1/g' -e 's/\.\([0-9]\)/0\1/g' -e 's/^[0-9]\{3,4\}$$/&00/'` \>= 80201)
9
 ifeq ($(GCC_VER_GTE821),1)
10
     OPTIMIZE+=-fno-partial-inlining
11
 endif

Return to bug 237058