From 0303d315fcb29bd3f74da66faa222d17e7ac5b6f Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Sat, 4 Apr 2020 16:45:59 +0200 Subject: Makefile bugfix macros are generally not expanded in shell calls --- libtokencap/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libtokencap/Makefile b/libtokencap/Makefile index 08316d78..75a8d337 100644 --- a/libtokencap/Makefile +++ b/libtokencap/Makefile @@ -23,9 +23,9 @@ VERSION = $(shell grep '^\#define VERSION ' ../config.h | cut -d '"' -f2) CFLAGS ?= -O3 -funroll-loops -D_FORTIFY_SOURCE=2 CFLAGS += -I ../include/ -Wall -g -Wno-pointer-sign -UNAME_CMD=uname -s -UNAME_S =$(shell $(UNAME_CMD))# GNU make -UNAME_S:sh=$(UNAME_CMD) # BSD make + +UNAME_S =$(shell uname -s)# GNU make +UNAME_S:sh=uname -s # BSD make _UNIQ=_QINU_ _OS_DL = $(_UNIQ)$(UNAME_S) -- cgit 1.4.1