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.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/nvramtool/Makefile.inc b/util/nvramtool/Makefile.inc
index 0acda04340..080734c793 100644
--- a/util/nvramtool/Makefile.inc
+++ b/util/nvramtool/Makefile.inc
@@ -27,6 +27,10 @@ endif
ifeq ($(OS_ARCH), NetBSD)
NVRAMTOOLLDLFLAGS = -l$(shell uname -p)
endif
+ifeq ($(OS_ARCH), FreeBSD)
+NVRAMTOOLFLAGS += -O2 -g -Wall -W
+HOSTCFLAGS =
+endif
ifeq ($(shell uname -o), Cygwin)
NVRAMTOOLFLAGS += -O2 -g -Wall -W -D__GLIBC__
NVRAMTOOLLDFLAGS = -lioperm