From 320b953e20c4f2154bc786dac302f52c6e76d17f Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Thu, 9 Jul 2015 18:33:18 +0200 Subject: [PATCH] Fix libm makefile missing quotes around grep pattern. --- libm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libm/Makefile b/libm/Makefile index 275030d2..35d4d0df 100644 --- a/libm/Makefile +++ b/libm/Makefile @@ -7,11 +7,11 @@ OPTLEVEL?=$(DEFAULT_OPTLEVEL) CFLAGS?=$(OPTLEVEL) # TODO: Better detection of the proper subdirectory here! -ifneq ($(shell echo $(HOST) | grep -E ^i[012346789]*86-),) +ifneq ($(shell echo $(HOST) | grep -E '^i[012346789]*86-'),) ARCH_SUBDIR:=arch/i387 ARCH_MACHINE_HEADERS:=$(ARCH_SUBDIR)/machine/npx.h endif -ifneq ($(shell echo $(HOST) | grep -E ^x86_64-),) +ifneq ($(shell echo $(HOST) | grep -E '^x86_64-'),) ARCH_SUBDIR:=arch/x86_64 ARCH_MACHINE_HEADERS:=$(ARCH_SUBDIR)/machine/fpu.h endif