summaryrefslogtreecommitdiff
blob: e0092abf1aac5f86365f8684ecc9e82d5c822f5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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