CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
attic
/
toolchain-noeabi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9045766
)
fixed test in Makefile to be more wide compliant
author
Jose V Beneyto
<sepen@crux.nu>
Fri, 5 Mar 2010 13:13:25 +0000
(14:13 +0100)
committer
Jose V Beneyto
<sepen@crux.nu>
Fri, 5 Mar 2010 13:13:25 +0000
(14:13 +0100)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index f50bd06684753d6d26c3725aa65c6c5a572709ef..85ab9347d2dce73fe6fad0c4e8e45b55a66449eb 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-258,7
+258,7
@@
$(WORK)/build-test/hello: $(WORK)/build-test/hello.c
unset CFLAGS && unset CXXFLAGS && unset CC && \
AR=ar LDFLAGS="-Wl,-rpath,$(CROSSTOOLS)/lib" \
$(TARGET)-gcc -Wall -o hello hello.c
- [ "
$$(file -b $(WORK)/build-test/hello | cut -d',' -f2 | sed 's| ||g' )" =
= "ARM" ] || exit 1
+ [ "
`file -b $(WORK)/build-test/hello | cut -d',' -f2 | sed 's| ||g'`"
= "ARM" ] || exit 1
touch $(WORK)/build-test/hello
test: gcc-final $(WORK)/build-test/hello