|
@ -132,7 +132,7 @@ 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_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) ))) |
|
|
CC_VER:=$(shell echo $$(( $(CC_MAJ) * 10000 + $(CC_MIN) * 100 + $(CC_PATCHLEVEL) ))) |
|
|
ifeq ($(shell test $(CC_VER) -lt 40901 && echo 1),1) |
|
|
ifeq ($(shell test $(CC_VER) -lt 40901 && echo 1),1) |
|
|
@echo This version of GCC is likely broken. Enabling relocation workaround. |
|
|
$(warning This GCC version $(CC_VER) is likely broken. Enabling relocation workaround.) |
|
|
RELOC_WORKAROUND = 1 |
|
|
RELOC_WORKAROUND = 1 |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|