ace: Fix contains reference to TMPDIR [buildpaths] error

- The project uses CCFLAGS instead of CXXFLAGS to add C++ compiler flags.
Assign the value of CXXFLAGS to the CCFLAGS variable and export CCFLAGS for use in the build environment.
It fixes the contains reference TMPDIR because DEBUG_PREFIX_MAP is already included in CXXFLAGS (poky/meta/conf/bitbake.conf)

- Fix typo -Wnodeprecated-declarations -> -Wno-deprecated-declarations

ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE_Compression.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths]
ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE_ETCL_Parser.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths]
ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE_ETCL.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths]
ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths]
ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE_Monitor_Control.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths]
ERROR: ace-8.0.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libACE_RLECompression.so.8.0.2 in package ace-dbg contains reference to TMPDIR [buildpaths]
ERROR: ace-8.0.2-r0 do_package_qa: Fatal QA errors were found, failing task.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Suggested-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alper Ak 2025-06-23 11:58:09 +03:00 committed by Khem Raj
parent dcc8eb8f44
commit 5b4e26adb8
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -26,8 +26,10 @@ export ACE_ROOT = "${UNPACKDIR}/ACE_wrappers"
inherit pkgconfig inherit pkgconfig
CXXFLAGS:append = " -fpermissive -Wnodeprecated-declarations" CXXFLAGS:append = " -fpermissive -Wno-deprecated-declarations"
CXX:append = " -ffile-prefix-map=${UNPACKDIR}= " CXX:append = " -ffile-prefix-map=${UNPACKDIR}= "
export CCFLAGS = "${CXXFLAGS}"
EXTRA_OEMAKE += "INSTALL_LIB=${baselib} install_rpath=0" EXTRA_OEMAKE += "INSTALL_LIB=${baselib} install_rpath=0"
do_install() { do_install() {