Skip to content
Snippets Groups Projects
user avatar
Philip Prindeville authored
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: default avatarPhilip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit 0d5c6769)
17f63e95
History
Name Last commit Last update
..