1 |
package.env really hates me. It seems I can do nothing useful with it. |
2 |
I'm trying to remove a compiler flag: |
3 |
|
4 |
CFLAGS=${CFLAGS//-flto/} |
5 |
CXXFLAGS=${CXXFLAGS//-flto/} |
6 |
LDFLAGS=${LDFLAGS//-flto/} |
7 |
|
8 |
However: |
9 |
|
10 |
"/etc/portage/env/no-lto.conf", line 2: unexpected EOF while looking for |
11 |
matching `}' |
12 |
"/etc/portage/env/no-lto.conf", line 3: unexpected EOF while looking for |
13 |
matching `}' |
14 |
"/etc/portage/env/no-lto.conf", line 4: unexpected EOF while looking for |
15 |
matching `}' |
16 |
/"/etc/portage/env/no-lto.conf", line 2: unexpected EOF while looking |
17 |
for matching `}' |
18 |
"/etc/portage/env/no-lto.conf", line 3: unexpected EOF while looking for |
19 |
matching `}' |
20 |
"/etc/portage/env/no-lto.conf", line 4: unexpected EOF while looking for |
21 |
matching `}' |
22 |
|
23 |
The string replacement syntax looks correct to me. What am I doing wrong? |