From 959e65ea0ab555291286238d55e013ccd0c11368 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 30 Jan 2018 05:09:22 -0500 Subject: [PATCH] Define SLUG macro from Makefile for plugins --- plugin.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin.mk b/plugin.mk index b1d9e4cd..caab1d2a 100644 --- a/plugin.mk +++ b/plugin.mk @@ -3,6 +3,10 @@ FLAGS += -fPIC \ -I../../include -I../../dep/include +ifdef SLUG + FLAGS += -DSLUG=$(SLUG) +endif + include ../../arch.mk