summaryrefslogtreecommitdiff
path: root/util/nvramtool/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'util/nvramtool/Makefile.inc')
-rw-r--r--util/nvramtool/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvramtool/Makefile.inc b/util/nvramtool/Makefile.inc
index 67710da52a..8471b66cbc 100644
--- a/util/nvramtool/Makefile.inc
+++ b/util/nvramtool/Makefile.inc
@@ -24,7 +24,7 @@ NVRAMTOOLFLAGS := -I$(top)/util/nvramtool
ifeq ($(OS_ARCH), NetBSD)
NVRAMTOOLLDLFLAGS = -l$(shell uname -p)
endif
-ifeq ($(shell uname -o), Cygwin)
+ifeq ($(shell uname -o 2>/dev/null), Cygwin)
NVRAMTOOLFLAGS += -O2 -g -Wall -W -D__GLIBC__
HOSTCFLAGS =
endif