p54: fix a null pointer dereference bug
[openwrt.git] / toolchain / gcc / common.mk
index 0f22e41..888cf7a 100644 (file)
@@ -167,6 +167,10 @@ ifdef CONFIG_powerpc
   TARGET_CFLAGS := $(patsubst -Os,-O2,$(TARGET_CFLAGS))
 endif
 
+ifneq ($(GCC_ARCH),)
+  GCC_CONFIGURE+= --with-arch=$(GCC_ARCH)
+endif
+
 GCC_MAKE:= \
        export SHELL="$(BASH)"; \
        $(MAKE) $(TOOLCHAIN_JOBS) \
This page took 0.025383 seconds and 4 git commands to generate.