This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bootstrap/7087: sub-make FLAG propagation fails if flag ends with '='


>     "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
> 
>     sed -e s'/[^=][^=]*=$$/XFOO=/'

I wonder if it would be better to just say

	's/^STAGE1_CFLAGS=$$/XFOO=/'

and avoid the wildcards completely.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]