Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] package.env files error: unexpected EOF while looking for matching `}'
Date: Sun, 03 Jun 2012 12:56:34
Message-Id: jqfmse$n38$1@dough.gmane.org
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?

Replies

Subject Author
Re: [gentoo-devhelp] package.env files error: unexpected EOF while looking for matching `}' Michael Orlitzky <michael@××××××××.com>