On Wed, 7 Feb 2018 15:38:04 +0000
spiky <[email protected]> wrote:

> I have not added a CFLAGS this is from the install script
>        ./configure $XORG_CONFIG CFLAGS='$CFLAGS -D_GNU_SOURCE'


That's wrong. The '' will prevent all shell variable expansion.
Thus, $CFLAGS will be preserved as-is, a string, rather than
treated as a variable name.

For example:

CFLAGS=one
CFLAGS='$CFLAGS two'
echo $CFLAGS

yields:

$CFLAGS two

I think the '' should be "" :
 
CFLAGS=one
CFLAGS="$CFLAGS two"
echo $CFLAGS

yields:

one two



  Cheers,

  Mike Shell


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to