The issues seem to be that ./configure is setting IFS=' ' without
unsetting the value again. This means tabs in CFLAGS also break
./configure. And the variables aren't escaped for config.mk.

 ... oh. I sent my reply before seeing yours.

 This is interesting. But then why does

CFLAGS="-O2
    -pipe"
./configure

work? I would expect it to fail if IFS was the issue.


+      IFS=' ' read -r k v ldlibs

 bash construct ;)


+CFLAGS := $CFLAGS ${CFLAGS_POST//'
+'/'\
+'}

 I am unfamiliar with this, can you please explain it?

--
 Laurent

Reply via email to