[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r12116 - in /fsf/trunk/ports: ChangeLog.arm sysdeps/arm/preconfigure



Author: eglibc
Date: Wed Nov 24 00:03:32 2010
New Revision: 12116

Log:
Import glibc-ports-mainline for 2010-11-24

Modified:
    fsf/trunk/ports/ChangeLog.arm
    fsf/trunk/ports/sysdeps/arm/preconfigure

Modified: fsf/trunk/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/ports/ChangeLog.arm (original)
+++ fsf/trunk/ports/ChangeLog.arm Wed Nov 24 00:03:32 2010
@@ -1,3 +1,8 @@
+2010-11-22  Andreas Schwab  <schwab@xxxxxxxxxx>
+
+	* sysdeps/arm/preconfigure: Only modify CFLAGS when configuring
+	for arm-linux*eabi.
+
 2010-10-19  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/arm/bits/mathdef.h (FP_FAST_FMA, FP_FAST_FMAF,

Modified: fsf/trunk/ports/sysdeps/arm/preconfigure
==============================================================================
--- fsf/trunk/ports/sysdeps/arm/preconfigure (original)
+++ fsf/trunk/ports/sysdeps/arm/preconfigure Wed Nov 24 00:03:32 2010
@@ -4,6 +4,10 @@
 	case $config_os in
 	linux-gnueabi)
 		machine=arm/eabi/$machine
+		if [ "${CFLAGS+set}" != "set" ]; then
+		  CFLAGS="-g -O2"
+		fi
+		CFLAGS="$CFLAGS -fno-unwind-tables"
 		;;
 	*)
 		machine=arm/$machine
@@ -11,7 +15,3 @@
 	esac
 	;;
 esac
-if [ "${CFLAGS+set}" != "set" ]; then
-  CFLAGS="-g -O2"
-fi
-CFLAGS="$CFLAGS -fno-unwind-tables"