aboutsummaryrefslogtreecommitdiff
path: root/util/nvramtool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/nvramtool/Makefile')
-rw-r--r--util/nvramtool/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile
index 2a143b7b47..063bb1acd6 100644
--- a/util/nvramtool/Makefile
+++ b/util/nvramtool/Makefile
@@ -42,6 +42,10 @@ endif
ifeq ($(OS_ARCH), NetBSD)
LDFLAGS = -l$(shell uname -p)
endif
+ifeq ($(shell uname -o), Cygwin)
+LDFLAGS = -lioperm
+CFLAGS += -D__GLIBC__
+endif
all: dep $(PROGRAM)