mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 00:24:40 +01:00
use uname -m
instead of the arch
command
The `arch` command is deprecated on modern systems, and indeed, many distros do not provide it (one of those being Arch Linux, ironically). Since `uname` is already used in the Makefile, prefer its `-m` flag equivalent instead.
This commit is contained in:
parent
72646221c3
commit
ff28230b75
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ KERNEL_HEADERS ?= /usr/src/linux-headers-$(shell uname -r)/
|
|||
CLANG ?= clang
|
||||
LLC ?= llc
|
||||
LLVM_STRIP ?= llvm-strip -g
|
||||
ARCH ?= $(shell arch)
|
||||
ARCH ?= $(shell uname -m)
|
||||
|
||||
# as in /usr/src/linux-headers-*/arch/
|
||||
# TODO: extract correctly the archs, and add more if needed.
|
||||
|
|
Loading…
Add table
Reference in a new issue