diff --git a/ChangeLog b/ChangeLog index 0d5405994..c3dff2805 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-01-15 suzuki toshiya + + Copy -mcpu=* & -march=* options from CFLAGS to LDFLAGS. + + * builds/unix/configure.raw: Consider recent gcc-standard + flags to specify architecture in CFLAGS & LDFLAGS + harmonization. Requested by Savannah bug #32114, to + support multilib feature of BuildRoot SDK correctly. + 2011-01-15 suzuki toshiya Fix off-by-one bug in CFLAGS & LDFLAGS harmonizer. diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw index a22183f37..a58d20c4b 100644 --- a/builds/unix/configure.raw +++ b/builds/unix/configure.raw @@ -267,7 +267,7 @@ do fi shift 1 ;; - -m32|-m64) # options taking no argument + -m32|-m64|-march=*|-mcpu=*) # options taking no argument AC_MSG_RESULT([whether CFLAGS and LDFLAGS share ${c}]) if expr " ${LDFLAGS} " : ".* ${c} *${a}.*" > /dev/null then