summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/mtools/files/mtools-3.9.11-flags.patch')
-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