From 330dd92423c49692b21dbe90dabba34866fd6913 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 17 Oct 2016 13:06:23 -0300 Subject: [PATCH] 4th: use $(TARGET_MAKE_ENV) when calling $(MAKE) Signed-off-by: Gustavo Zacarias Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/4th/4th.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/4th/4th.mk b/package/4th/4th.mk index 071c2d4df2..7828592815 100644 --- a/package/4th/4th.mk +++ b/package/4th/4th.mk @@ -17,9 +17,9 @@ 4TH_CFLAGS = $(TARGET_CFLAGS) -DUNIX -fsigned-char ifeq ($(BR2_STATIC_LIBS),y) -4TH_MAKE_ENV = STATIC=1 +4TH_MAKE_ENV = $(TARGET_MAKE_ENV) STATIC=1 else -4TH_MAKE_ENV = SHARED=1 +4TH_MAKE_ENV = $(TARGET_MAKE_ENV) SHARED=1 4TH_CFLAGS += -fPIC endif -- 2.30.2