Adjusted cutoff for RELOC_WORKAROUND.

master
Marcio Teixeira 7 years ago
parent 578391effc
commit 92e058742a

@ -104,7 +104,7 @@ CC_MAJ:=$(shell $(CC) -dM -E - < /dev/null | grep __GNUC__ | cut -f3 -d\ )
CC_MIN:=$(shell $(CC) -dM -E - < /dev/null | grep __GNUC_MINOR__ | cut -f3 -d\ )
CC_PATCHLEVEL:=$(shell $(CC) -dM -E - < /dev/null | grep __GNUC_PATCHLEVEL__ | cut -f3 -d\ )
CC_VER:=$(shell echo $$(( $(CC_MAJ) * 10000 + $(CC_MIN) * 100 + $(CC_PATCHLEVEL) )))
ifeq ($(shell test $(CC_VER) -lt 40601 && echo 1),1)
ifeq ($(shell test $(CC_VER) -lt 40901 && echo 1),1)
RELOC_WORKAROUND = 1
endif

Loading…
Cancel
Save