mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
Use target ar & ranlib when generating static archives, libm4.a was being built with the host ar and ranlib
This commit is contained in:
@@ -50,7 +50,7 @@ $(M4_DIR)/.configured: $(M4_DIR)/.unpacked
|
||||
touch $@
|
||||
|
||||
$(M4_DIR)/src/$(M4_BINARY): $(M4_DIR)/.configured
|
||||
$(MAKE) CC=$(TARGET_CC) -C $(M4_DIR)
|
||||
$(MAKE) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(M4_DIR)
|
||||
|
||||
$(TARGET_DIR)/$(M4_TARGET_BINARY): $(M4_DIR)/src/$(M4_BINARY)
|
||||
$(MAKE) \
|
||||
|
||||
Reference in New Issue
Block a user