]> git.pld-linux.org Git - packages/ant.git/commitdiff
- added "target" support.
authorpawelz <pawelz@pld-linux.org>
Thu, 29 Jan 2009 19:44:56 +0000 (19:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- patch has been accepted by upstream :D

Changed files:
    ant-gcjtask.patch -> 1.2

ant-gcjtask.patch

index 2988775293a31df76ee28ca115c35b2de8b16c22..89a0e7350e67bfced8d6432d64be9ccde2a4cfda 100644 (file)
@@ -1,6 +1,6 @@
 --- 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");
          }
  
@@ -8,6 +8,11 @@
 +            String source = attributes.getSource();
 +            cmd.createArgument().setValue("-fsource=" + source);
 +        }
++
++        if (attributes.getTarget() != null) {
++            String target = attributes.getTarget();
++            cmd.createArgument().setValue("-ftarget=" + target);
++        }
 +
          addCurrentCompilerArgs(cmd);
  
This page took 0.038349 seconds and 4 git commands to generate.