mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v1.05] Move sysctl from ARM-specific to common (#251)
This commit is contained in:
4
Makefile
4
Makefile
@@ -43,8 +43,8 @@ ifneq ($(OS),Windows_NT)
|
||||
CFLAGS += -DARCH_ARM -Wno-unused-parameter -std=c99 -fstack-protector-all
|
||||
|
||||
ifeq ($(os), Darwin)
|
||||
SOURCE += $(SRC_DIR)sysctl.c
|
||||
HEADERS += $(SRC_DIR)sysctl.h
|
||||
SOURCE += $(COMMON_SRC)sysctl.c
|
||||
HEADERS += $(COMMON_SRC)sysctl.h
|
||||
endif
|
||||
else ifeq ($(arch), $(filter $(arch), riscv64 riscv32))
|
||||
SRC_DIR=src/riscv/
|
||||
|
||||
Reference in New Issue
Block a user