]> git.pld-linux.org Git - packages/ant.git/blob - ant-gcjtask.patch
- s/xml-commons-resolver/java-xml-commons-resolver/ in BRs
[packages/ant.git] / ant-gcjtask.patch
1 --- apache-ant-1.7.1/src/main/org/apache/tools/ant/taskdefs/compilers/Gcj.java~ 2008-06-27 07:05:16.000000000 +0200
2 +++ apache-ant-1.7.1/src/main/org/apache/tools/ant/taskdefs/compilers/Gcj.java  2009-01-28 09:43:14.000000000 +0100
3 @@ -112,6 +112,16 @@
4              cmd.createArgument().setValue("-C");
5          }
6  
7 +        if (attributes.getSource() != null) {
8 +            String source = attributes.getSource();
9 +            cmd.createArgument().setValue("-fsource=" + source);
10 +        }
11 +
12 +        if (attributes.getTarget() != null) {
13 +            String target = attributes.getTarget();
14 +            cmd.createArgument().setValue("-ftarget=" + target);
15 +        }
16 +
17          addCurrentCompilerArgs(cmd);
18  
19          return cmd;
This page took 0.072376 seconds and 3 git commands to generate.