summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-17 17:26:54 +0000
committerMike Frysinger <vapier@gentoo.org>2008-08-17 17:26:54 +0000
commitb61ff225158520a0c4322310d0ab1833c204964e (patch)
tree4be5ec9f77dcbb87c5f35ac7a40cbeeefc258977 /sys-fs/mtools/files
parentremove old (diff)
downloadgentoo-2-b61ff225158520a0c4322310d0ab1833c204964e.tar.gz
gentoo-2-b61ff225158520a0c4322310d0ab1833c204964e.tar.bz2
gentoo-2-b61ff225158520a0c4322310d0ab1833c204964e.zip
Version bump and remove pointless CFLAGS #232766.
(Portage version: 2.2_rc6/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'sys-fs/mtools/files')
-rw-r--r--sys-fs/mtools/files/mtools-3.9.11-flags.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-fs/mtools/files/mtools-3.9.11-flags.patch b/sys-fs/mtools/files/mtools-3.9.11-flags.patch
new file mode 100644
index 000000000000..e0092abf1aac
--- /dev/null
+++ b/sys-fs/mtools/files/mtools-3.9.11-flags.patch
@@ -0,0 +1,37 @@
+remove pointless flags
+
+http://bugs.gentoo.org/232766
+
+--- mtools/configure
++++ mtools/configure
+@@ -5904,9 +5904,6 @@
+ my_host_os=`echo $host_os1 $host_os2 $host_os3 | sort -u`
+ objs=`echo $srcdir/*.c | sed 's/\.c$/.o/' `
+ if [ "X$GCC" = "Xyes" ] ; then
+- if [ "$host_cpu" = i486 ] ; then
+- CFLAGS="$CFLAGS -m486"
+- fi
+ Wall=-Wall
+ if [ "$host_os3" = sunos ] ; then
+ Wall=""
+@@ -5921,9 +5918,6 @@
+ CFLAGS="$CFLAGS -ZP"
+ MACHDEPLIBS="-lposix -UTIL"
+ fi
+- case "${host}" in
+- arm*-*-linux) CFLAGS="$CFLAGS -mstructure-size-boundary=8";;
+- esac
+ CFLAGS="$CFLAGS $Wall"
+ else
+ if [ $host_os3 = hpux ] ; then
+@@ -5940,10 +5934,6 @@
+ fi
+
+
+-if [ $host_vendor = linux ] ; then
+- LDFLAGS="$LDFLAGS -z"
+-fi
+-
+ if [ $host_os3 = xenix ] ; then
+ LDFLAGS="$LDFLAGS -M2e -i -f 5000"
+ fi