mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
lvm2: do not override CC and similar variables
Since lvm2 uses autoconf, there's no point in overriding CC and other variables at build time. This causes build breakage as CFLAGS aren't used at link time, therefore --sysroot lacks, which breaks the build with external toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -74,7 +74,7 @@ $(LVM2_DIR)/.configured: $(LVM2_DIR)/.unpacked
|
||||
|
||||
|
||||
$(LVM2_DIR)/.built: $(LVM2_DIR)/.configured
|
||||
$(MAKE1) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR)
|
||||
$(MAKE1) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR)
|
||||
$(MAKE1) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR) install
|
||||
# Fixup write permissions so that the files can be overwritten
|
||||
# several times in the $(TARGET_DIR)
|
||||
|
||||
Reference in New Issue
Block a user