commit b567fedfe014dc5c795b5bc8703bc187efd13e27
parent 6b0f1c92c58fcff0de4724a1c005264e86794244
Author: Quentin Rameau <quinq@fifth.space>
Date: Wed, 20 Jul 2022 23:30:14 +0200
Makefile: Add NetBSD compile flags
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/config.mk b/config.mk
@@ -28,6 +28,9 @@ IOCFLAGS = -DUSE_TLS
# Linux, OpenBSD
OSCFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE
OSLDFLAGS =
+# NetBSD, using default pkgsrc path
+#OSCFLAGS = -I/usr/pkg/include
+#OSLDFLAGS = -L/usr/pkg/lib -R/usr/pkg/lib
# FreeBSD
#OSCFLAGS = -I/usr/local/include
#OSLDFLAGS = -L/usr/local/lib