Index: Makefile
===================================================================
--- Makefile (revision 381)
+++ Makefile (revision 382)
@@ -300,7 +300,7 @@
suppres-c-warnings = -Wno-deprecated-declarations -Wno-unused-result -Wno-maybe-uninitialized
suppres-c-warnings += -Wno-stringop-truncation -Wno-stringop-overflow -Wno-pointer-arith
suppres-c-warnings += -Wno-sign-compare-Wno-unused-but-set-variable -Wno-unused-value
-suppres-c-warnings += -Wno-type-limits
+suppres-c-warnings += -Wno-type-limits -Wno-attributes -Wno-return-type
suppres-cxx-warnings = -Wno-deprecated-declarations -Wno-class-memaccess -Wno-invalid-offsetof
suppres-cxx-warnings += -Wno-array-bounds -Wno-stringop-truncation -Wno-stringop-overflow
@@ -308,8 +308,10 @@
suppres-cxx-warnings += -Wno-maybe-uninitialized -Wno-pointer-arith -Wno-sign-compare
suppres-cxx-warnings += -Wno-unused-but-set-variable -Wno-restrict -Wno-alloc-size-larger-than
suppres-cxx-warnings += -Wno-unused-value -Wno-narrowing -Wno-free-nonheap-object
-suppres-cxx-warnings += -Wno-return-type
+suppres-cxx-warnings += -Wno-return-type -Wno-misleading-indentation
+CFLAGS += -flarge-source-files
+
extra_environment = CC='$(CCACHE)$(CROSS_PREFIX)gcc --sysroot=$(TARGET_DEST_DIR)'
extra_environment += CXX='$(CCACHE)$(CROSS_PREFIX)g++ --sysroot=$(TARGET_DEST_DIR)'
extra_environment += OBJCOPY='$(CROSS_PREFIX)objcopy'
@@ -339,7 +341,7 @@
cargo-executable = $(shell which cargo)
-extra_environment += RUST_TARGET=$(rust-target)
+extra_environment += RUST_TARGET='$(rust-target)'
extra_environment += CARGO='$(cargo-executable)'
extra_environment += CARGO_EXTRA_FLAGS='+1.71.1-$(rust-host)'