Index: Makefile
===================================================================
--- Makefile (revision 382)
+++ Makefile (revision 383)
@@ -310,15 +310,13 @@
suppres-cxx-warnings += -Wno-unused-value -Wno-narrowing -Wno-free-nonheap-object
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'
extra_environment += AR='$(CROSS_PREFIX)ar'
extra_environment += NM='$(CROSS_PREFIX)nm'
-extra_environment += CFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer $(suppres-c-warnings)'
-extra_environment += CXXFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer $(suppres-cxx-warnings)'
+extra_environment += CFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer -flarge-source-files $(suppres-c-warnings)'
+extra_environment += CXXFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer -flarge-source-files $(suppres-cxx-warnings)'
extra_environment += LDFLAGS='--sysroot=$(TARGET_DEST_DIR) $(arch-flags) $(x86-64-dynamic-linker) -Wl,-rpath-link,$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats -Wl,--reduce-memory-overheads'
extra_environment += HOST_CC='/usr/bin/gcc'
extra_environment += HOST_CXX='/usr/bin/g++'