summaryrefslogtreecommitdiff
path: root/fixincludes/fixincl.tpl
diff options
context:
space:
mode:
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-06 19:57:26 +0000
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-06 19:57:26 +0000
commitb32d497cafb846c4d5954a9b10f39ad1767579d0 (patch)
tree4e52f6dae3c611152e1d65b676f22e56f6f790d3 /fixincludes/fixincl.tpl
parentac044e18829c7f368395844bd69524ebdc295a76 (diff)
downloadgcc-b32d497cafb846c4d5954a9b10f39ad1767579d0.tar.gz
fix glibc_mutex_init fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140071 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/fixincl.tpl')
-rw-r--r--fixincludes/fixincl.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/fixincludes/fixincl.tpl b/fixincludes/fixincl.tpl
index af92d15c8d9..c8d4b2ce145 100644
--- a/fixincludes/fixincl.tpl
+++ b/fixincludes/fixincl.tpl
@@ -35,6 +35,10 @@ x=fixincl.x =]
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef SED_PROGRAM
+#define SED_PROGRAM "/usr/bin/sed"
+#endif
+static char const sed_cmd_z[] = SED_PROGRAM;
[=
FOR fix =]
@@ -165,7 +169,7 @@ static tTestDesc a[=(. Hack)=]Tests[] = {[=
* Fix Command Arguments for [=(. Hack)=]
*/
static const char* apz[=(. Hack)=]Patch[] = {[=
- IF (exist? "sed")=] "sed"[=
+ IF (exist? "sed")=] sed_cmd_z[=
FOR sed=],
"-e", [=(kr-string (get "sed"))=][=
ENDFOR sed=],[=