Il 11/09/2013 15:41, Gabriel Kerneis ha scritto: > The variable extra_cflags needs to be quoted in config-host.mak, > in particular because it might contain parentheses that would > otherwise be interpreted by the shell when reloading the file. > > For instance, if one wants to define some attribute with configure: > > ./configure --extra-cflags="-Dcoroutine_fn='__attribute__((coroutine_fn))'" > > A more robust approach would be to escape every variable properly, but > there is no portable equivalent to bash's "printf %q" solution. The > current patch, while not bullet-proof, works well in the common case. > > Signed-off-by: Gabriel Kerneis <gabr...@kerneis.info>
Where does the shell read config-host.mak? Make does not need the quotes. Paolo