diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2008-02-16 15:26:46 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2008-02-16 15:26:46 +0000 |
commit | 49fdf406ac9eb9f7a58de34ee5e7ed9b1552448d (patch) | |
tree | d1dd34b3e3977fd51e513f041b9946e20f760696 | |
parent | e2108ce092c8e887cc9422202dff64777d0794f7 (diff) | |
download | newlib-49fdf406ac9eb9f7a58de34ee5e7ed9b1552448d.zip newlib-49fdf406ac9eb9f7a58de34ee5e7ed9b1552448d.tar.gz newlib-49fdf406ac9eb9f7a58de34ee5e7ed9b1552448d.tar.bz2 |
2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR libgcj/33085
* libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>:
Do not use -DDLL_EXPORT. Backport from upstream.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | libtool.m4 | 9 |
2 files changed, 12 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + PR libgcj/33085 + * libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>: + Do not use -DDLL_EXPORT. Backport from upstream. + 2008-02-14 Nick Clifton <nickc@redhat.com> Import this patch from gcc: @@ -3419,7 +3419,8 @@ m4_if([$1], [CXX], [ # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform @@ -3715,7 +3716,8 @@ m4_if([$1], [CXX], [ # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) @@ -3791,7 +3793,8 @@ m4_if([$1], [CXX], [ mingw* | cygwin* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; hpux9* | hpux10* | hpux11*) |