treewide: fix places where $(FPIC) is unquoted
authorPhilip Prindeville <[email protected]>
Fri, 19 Mar 2021 22:26:31 +0000 (16:26 -0600)
committerPhilip Prindeville <[email protected]>
Fri, 19 Mar 2021 22:38:43 +0000 (16:38 -0600)
commit0d5c6769f15f15ce950d2b41dce3341b5c160c36
treedc23e16fbac51f059c6428836e05950ab33e9778
parent1e0eaa1f4cce7430950497ae0a968b4db9c62e71
treewide: fix places where $(FPIC) is unquoted

Fixes part of issue #14921.

When $(FPIC) gets added to TARGET_CFLAGS (for instance), we can
count on $(TARGET_CFLAGS) in turn being quoted when it gets
expanded.  But there are a few places where $(FPIC) gets
expanded directly into environment variables passed on the
command line, such as when setting lt_cv_* variables as in this
case.

It's wrong to assume that the expansion of $(FPIC) won't require
quoting (such as it containing spaces) if it has multiple compiler
flags.

Signed-off-by: Philip Prindeville <[email protected]>
libs/libredblack/Makefile
sound/madplay/Makefile