can someone enlighten me??
Farkas Levente
lfarkas at lfarkas.org
Wed Nov 19 13:23:18 UTC 2008
hi,
i need some hep from some rpm experts!:-( i spend way too much time with
it so please someone tell me the reason.
suppose i write into mingw32-macros.mingw32:
---------------------------------------
%_mingw32_cflags -O2 -g
---------------------------------------
the values are not important just there is no line break in it, but if i
write:
---------------------------------------
%_mingw32_cflags -O2 \\\
-g
---------------------------------------
the compile, install etc and:
VAR="`rpm --eval %{_mingw32_cflags}`";set|grep VAR
then the outputs:
---------------------------------------
VAR=$'-O2 \\\n -g '
VAR='-O2 -g'
---------------------------------------
^^^
you see if there is a line break then there is an extra "$" at the
beginning!
why?
and how can i remove it?
it's not a problem here, but it's a real pain for much longer and
complicated macro.
thanks in advance.
yours.
--
Levente "Si vis pacem para bellum!"
More information about the mingw
mailing list