summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-03-05 19:13:13 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-03-05 19:13:13 +0000
commiteffb53d44bef116e0feb2bd8c68a8cd982b3384f (patch)
tree3a71ffa3fc586beb6990d01db387a9898220d667
parentfa12d4c6582906224f59f26915c46b2097d6088e (diff)
downloadbuildroot-novena-effb53d44bef116e0feb2bd8c68a8cd982b3384f.tar.gz
buildroot-novena-effb53d44bef116e0feb2bd8c68a8cd982b3384f.zip
Pass TARGET_CFLAGS to the tinylogin Makefile in the manner expected.
-rw-r--r--make/tinylogin.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/make/tinylogin.mk b/make/tinylogin.mk
index d15aa49b1..549de76b6 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