1 |
On 09:41 Wed 10 Nov , Christopher Schwan wrote: |
2 |
> for i in $(find . -type f -name '*.asm') ; do |
3 |
> echo $i >/dev/null |
4 |
> cat >> $i <<-EOF |
5 |
> #if defined(__linux__) && defined(__ELF__) |
6 |
> .section .note.GNU-stack,"",%progbits |
7 |
> #endif |
8 |
> EOF |
9 |
> done |
10 |
> |
11 |
> If I remove the line with "echo" (which *should* be completely useless), the |
12 |
> cat command does not patch files - WHY ?! |
13 |
|
14 |
Can't reproduce what you are saying. Here it works like a charm without |
15 |
the superflous line. |
16 |
|
17 |
> Also, mpir seemed to have dropped yasm beginning with mpir-2.1 (?), so |
18 |
> I think at least one loop in mpir's ebuild is superfluous. |
19 |
|
20 |
Hmm, also no. mpir-2.1.3 tarball contains yasm... I'm confused. |
21 |
|
22 |
My current version is always here: |
23 |
|
24 |
https://github.com/tom111/TomOverlay/blob/master/sci-libs/mpir/mpir-2.1.3.ebuild |
25 |
|
26 |
Cheers, |
27 |
Thomas |
28 |
|
29 |
|
30 |
-- |
31 |
Thomas Kahle |
32 |
http://dev.gentoo.org/~tomka/ |