]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-ccache-workaround.patch
- fix deps for libgdb.a
[packages/gdb.git] / gdb-ccache-workaround.patch
index 86147bf3deb1a044e645bf5813baaf95f7c3b8c1..1e5ebe1816ea0f39c71fdf36fd317b5ea5be79e6 100644 (file)
@@ -7,8 +7,8 @@
 +# Workaround ccache making lineno non-zero for command-line definitions.
 +if {[find_gcc] == "gcc" && [file executable "/usr/bin/gcc"]} {
 +    set result [catch "exec which gcc" output]
-+    if {$result == 0 && [string first "/ccache/" $output] >= -1} {
-+       lappend options "compiler=/usr/bin/gcc"
++    if {$result == 0 && [string first "/ccache/" $output] > -1} {
++      lappend options "compiler=/usr/bin/gcc"
 +    }
 +}
 +
This page took 0.274754 seconds and 4 git commands to generate.