From: Thomas Petazzoni Date: Sat, 15 May 2010 18:05:26 +0000 (+0200) Subject: uemacs: don't forget CFLAGS at link time X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d30649ada0e27b0c9f0fdff8f5d9ece18b077a87;p=buildroot.git uemacs: don't forget CFLAGS at link time Without CFLAGS, the build breaks because --sysroot is missing at link time, and this option is absolutely mandatory for external toolchain builds. Signed-off-by: Thomas Petazzoni --- diff --git a/package/uemacs/uemacs.mk b/package/uemacs/uemacs.mk index 6e2f4c4973..539ad51f0e 100644 --- a/package/uemacs/uemacs.mk +++ b/package/uemacs/uemacs.mk @@ -23,7 +23,7 @@ $(UEMACS_DIR)/.unpacked: $(DL_DIR)/$(UEMACS_SOURCE) $(UEMACS_DIR)/$(UEMACS_BINARY): $(UEMACS_DIR)/.unpacked $(MAKE) -C $(UEMACS_DIR) \ - CC="$(TARGET_CC)" DEFINES="-DAUTOCONF -DPOSIX -DUSG" CFLAGS+="$(TARGET_CFLAGS) " LIBS=-lncurses + CC="$(TARGET_CC)" DEFINES="-DAUTOCONF -DPOSIX -DUSG" CFLAGS+="$(TARGET_CFLAGS) " LIBS="$(TARGET_CFLAGS) -lncurses" $(STRIPCMD) $(UEMACS_DIR)/$(UEMACS_BINARY) $(TARGET_DIR)/$(UEMACS_TARGET_BINARY): $(UEMACS_DIR)/$(UEMACS_BINARY)