From: Manuel Novoa III Date: Fri, 5 Mar 2004 19:13:13 +0000 (-0000) Subject: Pass TARGET_CFLAGS to the tinylogin Makefile in the manner expected. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=effb53d44bef116e0feb2bd8c68a8cd982b3384f;p=buildroot.git Pass TARGET_CFLAGS to the tinylogin Makefile in the manner expected. --- diff --git a/make/tinylogin.mk b/make/tinylogin.mk index d15aa49b1b..549de76b64 100644 --- a/make/tinylogin.mk +++ b/make/tinylogin.mk @@ -34,11 +34,13 @@ $(TINYLOGIN_DIR)/Config.h: $(DL_DIR)/$(TINYLOGIN_SOURCE) touch $(TINYLOGIN_DIR)/Config.h $(TINYLOGIN_DIR)/tinylogin: $(TINYLOGIN_DIR)/Config.h - $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" -C $(TINYLOGIN_DIR) + $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" \ + CFLAGS_EXTRA="$(TARGET_CFLAGS)" -C $(TINYLOGIN_DIR) $(TARGET_DIR)/bin/tinylogin: $(TINYLOGIN_DIR)/tinylogin $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" \ - PREFIX="$(TARGET_DIR)" -C $(TINYLOGIN_DIR) install + PREFIX="$(TARGET_DIR)" -C $(TINYLOGIN_DIR) \ + CFLAGS_EXTRA="$(TARGET_CFLAGS)" install tinylogin: uclibc $(TARGET_DIR)/bin/tinylogin