From 82ddeb946d576b5d5c6ee1be4d8abbe921484dfc Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 30 Jan 2018 05:10:37 -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 b054f147..9c5408a3 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