Consolidate BSD build to support NetBSD and OpenBSD as well

This commit is contained in:
fstd 2015-09-12 21:32:00 +02:00
parent 4d063b84cc
commit f383137fe1
2 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ vpath %.S $(SRC_PATH)
vpath %.rc $(SRC_PATH)
vpath %.pc.in $(SRC_PATH)
OS=$(shell uname | tr A-Z a-z | tr -d \\-[:digit:].)
OS=$(shell uname | tr A-Z a-z | tr -d \\-[:digit:]. | sed -E 's/^(net|open|free)bsd/bsd/')
ARCH=$(shell uname -m)
LIBPREFIX=lib
LIBSUFFIX=a