]> code.ossystems Code Review - openembedded-core.git/blob
174b747eed98a87f479c92b5647ccc718d881cb3
[openembedded-core.git] /
1 Upstream-Status: Inappropriate [Backport]
2 From 37bc32c009317c62516117bfb2c9b49772b159af Mon Sep 17 00:00:00 2001
3 From: ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
4 Date: Fri, 15 Apr 2011 17:17:18 +0000
5 Subject: [PATCH 127/200]        * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
6         Add $libiconv to cxxflags for alpha*-dec-osf*.
7
8 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172508 138bc75d-0d04-0410-961f-82ee72b054a4
9
10 index ebdee1b..c84d86f 100644
11 --- a/libjava/testsuite/libjava.jni/jni.exp
12 +++ b/libjava/testsuite/libjava.jni/jni.exp
13 @@ -280,6 +280,11 @@ proc gcj_jni_get_cxxflags_invocation {} {
14      lappend cxxflags "-shared-libgcc"
15    }
16  
17 +  # Tru64 UNIX needs -liconv linked explicitly since gcc does the linking.
18 +  if { [istarget "alpha*-dec-osf*"] } {
19 +    lappend cxxflags $libiconv
20 +  }
21 +
22    return $cxxflags
23  }
24  
25 -- 
26 1.7.0.4
27