diff options
author | Sven Gothel <[email protected]> | 2012-03-06 11:00:02 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-03-06 11:00:02 +0100 |
commit | bb698e7d5157857c728c11ffc46f0cd2ff79b345 (patch) | |
tree | f6d1058d754f89542e34b6d6cf0254c999a51893 /make/lib/cpptasks_gcclinker.patch | |
parent | b78966195b2dca68b4aa971651005a787e62a54f (diff) | |
parent | d51d2aaad01d1c8188193a7913c6ef0fc38ea798 (diff) |
Merge branch 'pulled'
Diffstat (limited to 'make/lib/cpptasks_gcclinker.patch')
-rw-r--r-- | make/lib/cpptasks_gcclinker.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/make/lib/cpptasks_gcclinker.patch b/make/lib/cpptasks_gcclinker.patch new file mode 100644 index 0000000..0eb4c76 --- /dev/null +++ b/make/lib/cpptasks_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)) { + // |