Add cpuid-tycho
This commit is contained in:
16
sysutils/cpuid-tycho/patches/patch-GNUmakefile
Normal file
16
sysutils/cpuid-tycho/patches/patch-GNUmakefile
Normal file
@@ -0,0 +1,16 @@
|
||||
$OpenBSD$
|
||||
Index: GNUmakefile
|
||||
--- GNUmakefile.orig
|
||||
+++ GNUmakefile
|
||||
@@ -7,6 +7,11 @@ uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo
|
||||
prefix := /usr/local
|
||||
bindir := $(prefix)/bin
|
||||
|
||||
+ifeq ($(uname_S),OpenBSD)
|
||||
+CFLAGS += -pthread
|
||||
+LDFLAGS += -pthread
|
||||
+endif
|
||||
+
|
||||
ifneq ($(findstring MINGW,$(uname_S)),)
|
||||
win32 = Yep
|
||||
endif
|
||||
Reference in New Issue
Block a user