Commit a2ef6647ae15ac8df94c133b13527422a53c440d

suzuki toshiya 2011-01-15T13:33:28

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.

diff --git a/ChangeLog b/ChangeLog
index 0d54059..c3dff28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2011-01-15  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
+	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  <mpsuzuki@hiroshima-u.ac.jp>
+
 	Fix off-by-one bug in CFLAGS & LDFLAGS harmonizer.
 
 	* builds/unix/configure.raw: Some important options that
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index a22183f..a58d20c 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