4th: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
8fec991c78
commit
330dd92423
|
@ -17,9 +17,9 @@
|
||||||
4TH_CFLAGS = $(TARGET_CFLAGS) -DUNIX -fsigned-char
|
4TH_CFLAGS = $(TARGET_CFLAGS) -DUNIX -fsigned-char
|
||||||
|
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
4TH_MAKE_ENV = STATIC=1
|
4TH_MAKE_ENV = $(TARGET_MAKE_ENV) STATIC=1
|
||||||
else
|
else
|
||||||
4TH_MAKE_ENV = SHARED=1
|
4TH_MAKE_ENV = $(TARGET_MAKE_ENV) SHARED=1
|
||||||
4TH_CFLAGS += -fPIC
|
4TH_CFLAGS += -fPIC
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue