]> mj.ucw.cz Git - libucw.git/commit
UCW::Configure::C: de-reference CPU_ARCH in COPT
authorMartin Mares <mj@ucw.cz>
Thu, 7 Oct 2010 14:58:43 +0000 (16:58 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 7 Oct 2010 14:58:43 +0000 (16:58 +0200)
commitf0c77ee3ca96b8ce3312dfcdc0a450644b09fce6
treeb74788c3fbf5dd88075cd34dc4d9c19b06771af5
parent64e1c5f18620ca22d7584f8cef7c54539adf2b27
UCW::Configure::C: de-reference CPU_ARCH in COPT

Originally, when CONFIG_EXACT_CPU was enabled, COPT contained `-march=$(CPU_ARCH)',
which worked when it was used in a Makefile, but not when doing a test
compile in the configure script.

I changed it to dereference the variable immediately.
ucw/perl/UCW/Configure/C.pm