f83bb1e7eead789b8284130e1903a2559501fb47
[openwrt.git] / tools / bison / patches / 000-relocatable.patch
1 --- a/src/Makefile.am
2 +++ b/src/Makefile.am
3 @@ -77,6 +77,7 @@ MOSTLYCLEANFILES = yacc
4
5 yacc:
6 echo '#! /bin/sh' >$@
7 + echo 'test -n "$$STAGING_DIR" && exec "$$STAGING_DIR/../host/bin/bison" -y "$$@"' >>$@
8 echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@
9 chmod a+x $@
10
11 --- a/src/Makefile.in
12 +++ b/src/Makefile.in
13 @@ -1352,6 +1352,7 @@ uninstall-am: uninstall-binPROGRAMS unin
14
15 yacc:
16 echo '#! /bin/sh' >$@
17 + echo 'test -n "$$STAGING_DIR" && exec "$$STAGING_DIR/../host/bin/bison" -y "$$@"' >>$@
18 echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@
19 chmod a+x $@
20
This page took 0.046004 seconds and 3 git commands to generate.