From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJlct-0003Cm-SY for qemu-devel@nongnu.org; Wed, 11 Sep 2013 10:42:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJlco-0007CM-BE for qemu-devel@nongnu.org; Wed, 11 Sep 2013 10:42:39 -0400 Date: Wed, 11 Sep 2013 15:42:31 +0100 From: Gabriel Kerneis Message-ID: <20130911144230.GA15227@kerneis.info> References: <1378906912-14015-1-git-send-email-gabriel@kerneis.info> <523077CE.6070303@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <523077CE.6070303@redhat.com> Subject: Re: [Qemu-devel] [PATCH] Quote extra_cflags in config-host.mak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-trivial@nongnu.org, Peter Maydell , qemu-devel@nongnu.org On Wed, Sep 11, 2013 at 04:01:50PM +0200, Paolo Bonzini wrote: > > ./configure --extra-cflags="-Dcoroutine_fn='__attribute__((coroutine_fn))'" > > Where does the shell read config-host.mak? Make does not need the quotes. I might have been confused about the shell vs. make interpreting the string, but I am positive that without the patch, the following fails: mkdir bin/test cd bin/test ../../configure \ --extra-cflags="-Dcoroutine_fn='__attribute__((coroutine_fn))' -w" make tests/test-coroutine touch ../../configure make tests/test-coroutine with the following error message: config-host.mak is out-of-date, running configure sh: 1: Syntax error: "(" unexpected make: *** [config-host.mak] Error 2 My patch fixes this issue. -- Gabriel