Commit f5280cbe authored by Grant Grundler's avatar Grant Grundler Committed by Kyle McMartin

[PARISC] Remove GCC_VERSION usage as suggested by Adrian Bunk

Signed-off-by: default avatarGrant Grundler <grundler@parisc-linux.org>
Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent 6de187ee
...@@ -35,12 +35,8 @@ FINAL_LD=$(CROSS_COMPILE)ld --warn-common --warn-section-align ...@@ -35,12 +35,8 @@ FINAL_LD=$(CROSS_COMPILE)ld --warn-common --warn-section-align
OBJCOPY_FLAGS =-O binary -R .note -R .comment -S OBJCOPY_FLAGS =-O binary -R .note -R .comment -S
GCC_VERSION := $(call cc-version) ifneq ($(call cc-ifversion, -lt, 0303, "bad"),)
ifneq ($(shell if [ -z $(GCC_VERSION) ] ; then echo "bad"; fi ;),) $(error Sorry, GCC v3.3 or above is required.)
$(error Sorry, couldn't find ($(cc-version)).)
endif
ifneq ($(shell if [ $(GCC_VERSION) -lt 0303 ] ; then echo "bad"; fi ;),)
$(error Sorry, your compiler is too old ($(GCC_VERSION)). GCC v3.3 or above is required.)
endif endif
cflags-y := -pipe cflags-y := -pipe
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment