]>
Commit | Line | Data |
---|---|---|
1192005f | 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 | |
057e1d8f | 3 | @@ -112,6 +112,16 @@ |
1192005f | 4 | cmd.createArgument().setValue("-C"); |
5 | } | |
6 | ||
7 | + if (attributes.getSource() != null) { | |
8 | + String source = attributes.getSource(); | |
9 | + cmd.createArgument().setValue("-fsource=" + source); | |
10 | + } | |
057e1d8f | 11 | + |
12 | + if (attributes.getTarget() != null) { | |
13 | + String target = attributes.getTarget(); | |
14 | + cmd.createArgument().setValue("-ftarget=" + target); | |
15 | + } | |
1192005f | 16 | + |
17 | addCurrentCompilerArgs(cmd); | |
18 | ||
19 | return cmd; |