diff options
Diffstat (limited to 'libc/sysdeps/linux/arm/Makefile.arch')
-rw-r--r-- | libc/sysdeps/linux/arm/Makefile.arch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/arm/Makefile.arch b/libc/sysdeps/linux/arm/Makefile.arch index cd1710a55..cc73c45c7 100644 --- a/libc/sysdeps/linux/arm/Makefile.arch +++ b/libc/sysdeps/linux/arm/Makefile.arch @@ -22,7 +22,7 @@ endif # Is our compiler set up for EABI ? IS_EABI:=$(shell $(CC) $(CFLAGS) -x c - -E -dM </dev/null 2>/dev/null \ - |sed -r -e '/^\#[[:space:]]*define[[:space:]]+__ARM_EABI__([[:space:]]+1)?$$/!d; s/.+/y/;' \ + | grep __ARM_EABI__ 2>&1 >/dev/null && echo 'y' \ ) ifeq ($(IS_EABI),y) |