2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
authorPaolo Bonzini <bonzini@gnu.org>
Sat, 16 Feb 2008 15:26:46 +0000 (15:26 +0000)
committerPaolo Bonzini <bonzini@gnu.org>
Sat, 16 Feb 2008 15:26:46 +0000 (15:26 +0000)
PR libgcj/33085
* libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>:
Do not use -DDLL_EXPORT.  Backport from upstream.

ChangeLog
libtool.m4

index 42701f7a3fe291f4d552ddbac6d6b0a4414a6cb8..c7a263983d6f2ca8ab4f1358210122a23fab29d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index ddc4b1189c783cf52116a87d7b0e9285c9f73448..e86cd0249b118989f3ff714e1c2c9d67732c59f4 100644 (file)
@@ -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*)
This page took 0.0355 seconds and 4 git commands to generate.