nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
c_src: Fix uname in Makefile
[nit.git]
/
c_src
/
Makefile
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