mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
teach libtool to use the correct system compiler
This commit is contained in:
@@ -58,6 +58,8 @@ $(TARGET_DIR)/$(LIBTOOL_TARGET_BINARY): $(LIBTOOL_DIR)/$(LIBTOOL_BINARY)
|
|||||||
mandir=$(TARGET_DIR)/usr/man \
|
mandir=$(TARGET_DIR)/usr/man \
|
||||||
includedir=$(TARGET_DIR)/usr/include \
|
includedir=$(TARGET_DIR)/usr/include \
|
||||||
-C $(LIBTOOL_DIR) install;
|
-C $(LIBTOOL_DIR) install;
|
||||||
|
perl -pi -e "s,^CC.*,CC=\"/usr/bin/gcc\"," $(TARGET_DIR)/usr/bin/libtool
|
||||||
|
perl -pi -e "s,^LD.*,CC=\"/usr/bin/ld\"," $(TARGET_DIR)/usr/bin/libtool
|
||||||
rm -rf $(TARGET_DIR)/share/locale
|
rm -rf $(TARGET_DIR)/share/locale
|
||||||
|
|
||||||
libtool: uclibc $(TARGET_DIR)/$(LIBTOOL_TARGET_BINARY)
|
libtool: uclibc $(TARGET_DIR)/$(LIBTOOL_TARGET_BINARY)
|
||||||
|
|||||||
Reference in New Issue
Block a user