summaryrefslogtreecommitdiffstats
path: root/make/lib/archive/cpptasks/obsolete/cpptasks-1.0b5-gcclinker.patch
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-06 19:52:11 +0100
committerSven Gothel <[email protected]>2012-03-06 19:52:11 +0100
commitcb966d7feb89dd1ad811502c3f2aa1d37a503329 (patch)
tree4e2d5ebc3724be6961f99e97b39370f14e9ad8c9 /make/lib/archive/cpptasks/obsolete/cpptasks-1.0b5-gcclinker.patch
parentbf03a3c4db9550f890e7ea5b0b46962ecaa66a92 (diff)
cpptasks: Cleanup patch file and move single patches to obsolete for clarification
Diffstat (limited to 'make/lib/archive/cpptasks/obsolete/cpptasks-1.0b5-gcclinker.patch')
-rw-r--r--make/lib/archive/cpptasks/obsolete/cpptasks-1.0b5-gcclinker.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/make/lib/archive/cpptasks/obsolete/cpptasks-1.0b5-gcclinker.patch b/make/lib/archive/cpptasks/obsolete/cpptasks-1.0b5-gcclinker.patch
new file mode 100644
index 0000000..0eb4c76
--- /dev/null
+++ b/make/lib/archive/cpptasks/obsolete/cpptasks-1.0b5-gcclinker.patch
@@ -0,0 +1,17 @@
+Index: src/main/java/net/sf/antcontrib/cpptasks/gcc/GccLinker.java
+===================================================================
+--- src/main/java/net/sf/antcontrib/cpptasks/gcc/GccLinker.java (revision 177)
++++ src/main/java/net/sf/antcontrib/cpptasks/gcc/GccLinker.java (working copy)
+@@ -78,6 +78,12 @@
+ */
+ public String decorateLinkerOption(StringBuffer buf, String arg) {
+ String decoratedArg = arg;
++ if (arg.startsWith("--sysroot")) {
++ return arg;
++ }
++ if (arg.startsWith("-nostdlib")) {
++ return arg;
++ }
+ if (arg.length() > 1 && arg.charAt(0) == '-') {
+ switch (arg.charAt(1)) {
+ //