diff options
author | Ryan Barnett <ryan.barnett@rockwellcollins.com> | 2015-01-23 14:17:04 -0600 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-01-25 18:47:30 +0100 |
commit | 3852a3e526b11fade9a9769712a439fb16e11c60 (patch) | |
tree | 7fa00490092a6dfbdd24560362d6e87fdf703a75 /package/benejson | |
parent | 5f846793386e1924c38b8926b0f74ee510001f97 (diff) |
pkg-cmake: fix host-cmake-package type
When trying to compile a host-cmake-package type such as host-cdrkit,
an error happens in regards to HOSTCC and HOSTCXX not being found.
/bin/sh: HOSTCC: command not found
/bin/sh: HOSTCXX: command not found
This due to the fact that the environment is incorrectly configured by
having the following:
-DCMAKE_C_COMPILER=""$(HOSTCC)"" -DCMAKE_CXX_COMPILER=""$(HOSTCXX)""
This is due to having too many dollar signs. The fix is to remove the
extra dollar sign.
Also removing the unncessary quotes since the HOSTCC/HOSTCXX will
already contain quotes. This could cause an issue with make as double
quotes are not interpreted by make.
Minor formatting fix too.
Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/benejson')
0 files changed, 0 insertions, 0 deletions