[v1.06][FreeBSD][Apple] Implement fallback frequency calculation (#251)

This commit is contained in:
Er2
2024-08-19 10:21:41 +03:00
committed by GitHub
parent 2410fd16d3
commit 8d10a03adc
3 changed files with 26 additions and 1 deletions

View File

@@ -30,6 +30,10 @@ ifneq ($(OS),Windows_NT)
HEADERS += $(SRC_DIR)freq/freq.h
CFLAGS += -pthread
endif
ifeq ($(os), FreeBSD)
SOURCE += $(SRC_COMMON)sysctl.c
HEADERS += $(SRC_COMMON)sysctl.h
endif
CFLAGS += -DARCH_X86 -std=c99 -fstack-protector-all
else ifeq ($(arch), $(filter $(arch), ppc64le ppc64 ppcle ppc))
SRC_DIR=src/ppc/