OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
260260f
)
arm: Do not use 'sed -r' to calculate IS_EABI
author
Khem Raj
<raj.khem@gmail.com>
Mon, 13 Feb 2012 19:37:26 +0000
(11:37 -0800)
committer
Khem Raj
<raj.khem@gmail.com>
Mon, 13 Feb 2012 19:37:26 +0000
(11:37 -0800)
-r is not available on BSD sed so to keep
compatibility avoid using it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
libc/sysdeps/linux/arm/Makefile.arch
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/arm/Makefile.arch
b/libc/sysdeps/linux/arm/Makefile.arch
index
cd1710a
..
cc73c45
100644
(file)
--- 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)