Browse Source

Philip Rakity writes:

Hi Eric,

I writing privately since I have not heard from Mike for 2 weeks about
a one line patch to the gcc Makefile.in to allow the extra gcc options
to be passed in.  The patch is below and without it -- gcc extra's like


 --with-cpu=xscale

do not work.

The patch is as follows:
Eric Andersen 20 years ago
parent
commit
1a2048464b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      toolchain/gcc/Makefile.in

+ 3 - 1
toolchain/gcc/Makefile.in

@@ -3,7 +3,9 @@ GCC_VERSION:=$(strip $(subst ",, $(BR2_GCC_VERSION)))
 GCC_USE_SJLJ_EXCEPTIONS:=$(strip $(subst ",, $(BR2_GCC_USE_SJLJ_EXCEPTIONS)))
 #"
 TARGET_OPTIMIZATION:=$(strip $(subst ",, $(BR2_TARGET_OPTIMIZATION)))
-#""
+#"
+EXTRA_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_GCC_CONFIG_OPTIONS)))
+#"
 
 
 ifeq ($(BR2_SOFT_FLOAT),y)