summaryrefslogtreecommitdiff
path: root/arm-riscos-gnueabi/recipes/patches/gccsdk/libtool.m4.p.p
blob: 8061b92dda42ae06fc9de43a79bd92049fd8cc2a (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
Index: gcc/libtool.m4.p
===================================================================
--- gcc/libtool.m4.p	(revision 7698)
+++ gcc/libtool.m4.p	(working copy)
@@ -5,7 +5,7 @@
      ])
      ;;
 + 
-+  *riscos | *linux-gnueabihf)
++  *riscos*)
 +    lt_cv_dlopen="dlopen"
 +    lt_cv_dlopen_libs="-ldl"
 +    lt_cv_dlopen_self=yes
@@ -17,7 +17,7 @@
    shlibpath_var=LD_LIBRARY_PATH
    ;;
  
-+*riscos | linux-gnueabihf)
++*riscos*)
 +  version_type=linux
 +  library_names_spec='${libname}$versuffix.so ${libname}.so$major $libname.so'
 +  soname_spec='${libname}.so$major'
@@ -32,7 +32,7 @@
        # it will coredump.
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
        ;;
-+    *linux-gnueabihf)
++    riscos-gnu*)
 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -48,7 +48,7 @@
      esac
    else
      case $host_os in
-+      linux-gnueabihf)
++      riscos-gnu*)
 +	# RISC OS
 +        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 +        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
@@ -61,7 +61,7 @@
  	;;
        vxworks*)
  	;;
-+      *linux-gnueabihf)
++      riscos-gnu*)
 +        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 +        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 +        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -78,13 +78,13 @@
        fi
        ;;
  
-+    *linux-gnueabihf)
++    riscos-gnu*)
 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 +      ;;
 +
-+    *riscos | linux-gnueabihf)
++    *riscos*)
 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -97,7 +97,7 @@
    else
      # PORTME Check for flag to pass linker flags through the system compiler.
      case $host_os in
-+    linux-gnueabihf)
++    riscos-gnu*)
 +      # RISC OS
 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
@@ -110,7 +110,7 @@
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
        ;;
  
-+    *linux-gnueabihf)
++    riscos-gnu*)
 +      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
 +      _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 +      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
@@ -129,7 +129,7 @@
    else
      # PORTME fill in a description of your system's linker (not GNU ld)
      case $host_os in
-+    linux-gnueabihf)
++    riscos-gnu*)
 +      # RISC OS
 +      _LT_TAGVAR(ld_shlibs, $1)=yes
 +      ;;
@@ -140,7 +140,7 @@
        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
        ;;
  
-+    *riscos | *linux-gnueabihf)
++    *riscos*)
 +      _LT_TAGVAR(ld_shlibs, $1)=yes
 +      ;;
 +
@@ -151,7 +151,7 @@
      AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
      _LT_TAGVAR(ld_shlibs, $1)=yes
      case $host_os in
-+      linux-gnueabihf)
++      riscos-gnu*)
 +	 # RISC OS
 +         _LT_TAGVAR(ld_shlibs, $1)=yes
 +         ;;
@@ -162,7 +162,7 @@
          _LT_TAGVAR(ld_shlibs, $1)=no
          ;;
  
-+     *riscos | *linux-gnueabihf)
++     *riscos*)
 +        _LT_TAGVAR(ld_shlibs, $1)=yes
 +        ;;
 +