]> git.pld-linux.org Git - packages/ant.git/commitdiff
- fixes javac task using gcj: now it uses "source" attribute
authorpawelz <pawelz@pld-linux.org>
Wed, 28 Jan 2009 09:40:02 +0000 (09:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ant-gcjtask.patch -> 1.1

ant-gcjtask.patch [new file with mode: 0644]

diff --git a/ant-gcjtask.patch b/ant-gcjtask.patch
new file mode 100644 (file)
index 0000000..2988775
--- /dev/null
@@ -0,0 +1,14 @@
+--- 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 @@
+             cmd.createArgument().setValue("-C");
+         }
++        if (attributes.getSource() != null) {
++            String source = attributes.getSource();
++            cmd.createArgument().setValue("-fsource=" + source);
++        }
++
+         addCurrentCompilerArgs(cmd);
+         return cmd;
This page took 0.096637 seconds and 4 git commands to generate.