nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4906d
)
c_src: Fix uname in Makefile
author
Jean Privat
<jean@pryen.org>
Tue, 26 Aug 2014 15:28:02 +0000
(11:28 -0400)
committer
Jean Privat
<jean@pryen.org>
Tue, 26 Aug 2014 15:28:02 +0000
(11:28 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
c_src/Makefile
patch
|
blob
|
history
diff --git
a/c_src/Makefile
b/c_src/Makefile
index
21e2edc
..
3dbc4f3
100644
(file)
--- a/
c_src/Makefile
+++ b/
c_src/Makefile
@@
-6,7
+6,7
@@
LDFLAGS ?=
LDLIBS ?= -lm -lgc
NEED_LIBUNWIND := YesPlease
-uname_S := $(shell sh -c 'uname -s null || echo not')
+uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
ifeq ($(uname_S),Darwin)
NEED_LIBUNWIND :=
endif