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.
This commit is contained in:
suzuki toshiya 2011-01-15 13:33:28 +09:00
Родитель c68a82d8fc
Коммит a2ef6647ae
2 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,12 @@
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.

Просмотреть файл

@ -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