Skip to content
Snippets Groups Projects
Commit fef6f000 authored by deuce's avatar deuce
Browse files

Fixes for NetBSD

parent 744ca28b
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,11 @@ os := $(shell echo $(os) | tr "[A-Z]" "[a-z]") ...@@ -33,6 +33,11 @@ os := $(shell echo $(os) | tr "[A-Z]" "[a-z]")
# remove '/' from "os/2" # remove '/' from "os/2"
os := $(shell echo $(os) | tr -d "/") os := $(shell echo $(os) | tr -d "/")
ifeq ($(os),netbsd)
CFLAGS += -D__unix__ -I/usr/pkg/include -DUSE_XP_SEMAPHORES
LDFLAGS += -L/usr/pkg/lib
endif
ODIR := gcc.$(os) ODIR := gcc.$(os)
LIBDIR := /usr/lib LIBDIR := /usr/lib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment