ref: a2ef6647ae15ac8df94c133b13527422a53c440d
parent: c68a82d8fc423e43f95ecec4c53acebcfbb0390c
author: suzuki toshiya <[email protected]>
date: Sat Jan 15 08:33:28 EST 2011
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.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2011-01-15 suzuki toshiya <[email protected]>
+ 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 <[email protected]>
+
Fix off-by-one bug in CFLAGS & LDFLAGS harmonizer.
* builds/unix/configure.raw: Some important options that
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -267,7 +267,7 @@
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