From 48e39ab69dc731f57f9fad3eb4990a0f601c6c23 Mon Sep 17 00:00:00 2001 From: Carlo Caione Date: Tue, 21 Jun 2016 14:54:10 +0200 Subject: makefile: Fix detecting objcopy version Signed-off-by: Carlo Caione --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 740ad53e..a060a199 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ LD = $(CROSS_COMPILE)ld OBJCOPY = $(CROSS_COMPILE)objcopy ARCH = $(shell $(CC) -dumpmachine | cut -f1 -d- | sed s,i[3456789]86,ia32,) -OBJCOPY_GTE224 = $(shell expr `$(OBJCOPY) --version |grep ^"GNU objcopy" | sed 's/^.version //g' | cut -f1-2 -d.` \>= 2.24) +OBJCOPY_GTE224 = $(shell expr `$(OBJCOPY) --version |grep ^"GNU objcopy" | sed 's/^.*\((.*)\|version\) //g' | cut -f1-2 -d.` \>= 2.24) SUBDIRS = Cryptlib lib -- cgit v1.2.3