Author: pawelz                       Date: Thu Jan 29 19:45:02 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- added "target" support.
- patch has been accepted by upstream :D

---- Files affected:
SOURCES:
   ant-gcjtask.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/ant-gcjtask.patch
diff -u SOURCES/ant-gcjtask.patch:1.1 SOURCES/ant-gcjtask.patch:1.2
--- SOURCES/ant-gcjtask.patch:1.1       Wed Jan 28 10:40:02 2009
+++ SOURCES/ant-gcjtask.patch   Thu Jan 29 20:44:56 2009
@@ -1,12 +1,17 @@
 --- 
apache-ant-1.7.1/src/main/org/apache/tools/ant/taskdefs/compilers/Gcj.java~     
   2008-06-27 07:05:16.000000000 +0200
 +++ apache-ant-1.7.1/src/main/org/apache/tools/ant/taskdefs/compilers/Gcj.java 
2009-01-28 09:43:14.000000000 +0100
-@@ -112,6 +112,11 @@
+@@ -112,6 +112,16 @@
              cmd.createArgument().setValue("-C");
          }
  
 +        if (attributes.getSource() != null) {
 +            String source = attributes.getSource();
 +            cmd.createArgument().setValue("-fsource=" + source);
++        }
++
++        if (attributes.getTarget() != null) {
++            String target = attributes.getTarget();
++            cmd.createArgument().setValue("-ftarget=" + target);
 +        }
 +
          addCurrentCompilerArgs(cmd);
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/ant-gcjtask.patch?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to