about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-04-04 16:45:59 +0200
committerhexcoder- <heiko@hexco.de>2020-04-04 16:45:59 +0200
commit0303d315fcb29bd3f74da66faa222d17e7ac5b6f (patch)
treec8addfbecd685bba398986b2378398689e005f25
parent212925745417e29a5627edddbf837636860033aa (diff)
downloadafl++-0303d315fcb29bd3f74da66faa222d17e7ac5b6f.tar.gz
Makefile bugfix macros are generally not expanded in shell calls
-rw-r--r--libtokencap/Makefile6
1 files 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)