|
@@ -53,14 +53,6 @@ gcc-plugins-check: FORCE
|
|
|
ifdef CONFIG_GCC_PLUGINS
|
|
|
ifeq ($(PLUGINCC),)
|
|
|
ifneq ($(GCC_PLUGINS_CFLAGS),)
|
|
|
- # Various gccs between 4.5 and 5.1 have bugs on powerpc due to missing
|
|
|
- # header files. gcc <= 4.6 doesn't work at all, gccs from 4.8 to 5.1 have
|
|
|
- # issues with 64-bit targets.
|
|
|
- ifeq ($(ARCH),powerpc)
|
|
|
- ifeq ($(call cc-ifversion, -le, 0501, y), y)
|
|
|
- @echo "Cannot use CONFIG_GCC_PLUGINS: plugin support on gcc <= 5.1 is buggy on powerpc, please upgrade to gcc 5.2 or newer" >&2 && exit 1
|
|
|
- endif
|
|
|
- endif
|
|
|
ifeq ($(call cc-ifversion, -ge, 0405, y), y)
|
|
|
$(Q)$(srctree)/scripts/gcc-plugin.sh --show-error "$(__PLUGINCC)" "$(HOSTCXX)" "$(CC)" || true
|
|
|
@echo "Cannot use CONFIG_GCC_PLUGINS: your gcc installation does not support plugins, perhaps the necessary headers are missing?" >&2 && exit 1
|