mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 03:47:03 +00:00
gcc-cross-canadian: Fix include paths and hence c++ compiler issues
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
committed by
Joshua Lock
parent
3a92d518b4
commit
8f7bba3812
@@ -31,6 +31,14 @@ CFLAGS = "${BUILDSDK_CFLAGS}"
|
||||
CXXFLAGS = "${BUILDSDK_CFLAGS}"
|
||||
LDFLAGS = "${BUILDSDK_LDFLAGS}"
|
||||
|
||||
# Path mangling needed by the cross packaging
|
||||
# Note that we use := here to ensure that libdir and includedir are
|
||||
# target paths, not CROSS_DIR paths.
|
||||
target_libdir := "${libdir}"
|
||||
target_includedir := "${includedir}"
|
||||
target_base_libdir := "${base_libdir}"
|
||||
target_prefix := "${prefix}"
|
||||
|
||||
# Change to place files in SDKPATH
|
||||
prefix = "${SDKPATH}"
|
||||
exec_prefix = "${SDKPATH}"
|
||||
|
||||
Reference in New Issue
Block a user