Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 1 | From ab031c2b1f8c03e23a8dc8a95c9c9e9b8ce397b2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mingli Yu <mingli.yu@windriver.com> |
| 3 | Date: Fri, 15 Sep 2023 11:32:11 +0800 |
| 4 | Subject: [PATCH] BundledOSSPUUID.cmake: Pass CFLAGS to compiler |
| 5 | |
| 6 | Make sure -fdebug-prefix-map options are passed to compiler to fix the |
| 7 | below warning: |
| 8 | WARNING: minifi-cpp-0.7.0-r0 do_package_qa: QA Issue: File /usr/bin/.debug/minificontroller in package minifi-cpp-dbg contains reference to TMPDIR |
| 9 | File /usr/bin/.debug/minifi in package minifi-cpp-dbg contains reference to TMPDIR [buildpaths] |
| 10 | |
| 11 | Upsteam-Status: Pending |
| 12 | |
| 13 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
| 14 | --- |
| 15 | Upstream-Status: Pending |
| 16 | |
| 17 | cmake/BundledOSSPUUID.cmake | 2 +- |
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 19 | |
| 20 | diff --git a/cmake/BundledOSSPUUID.cmake b/cmake/BundledOSSPUUID.cmake |
| 21 | index 0cf4bac0..ec57ef51 100644 |
| 22 | --- a/cmake/BundledOSSPUUID.cmake |
| 23 | +++ b/cmake/BundledOSSPUUID.cmake |
| 24 | @@ -37,7 +37,7 @@ function(use_bundled_osspuuid SOURCE_DIR BINARY_DIR) |
| 25 | ENDFOREACH(BYPRODUCT) |
| 26 | |
| 27 | # Build project |
| 28 | - set(CONFIGURE_COMMAND ac_cv_va_copy=C99 ./configure CFLAGS=-fPIC CXXFLAGS=-fPIC --host=${HOST_SYS} |
| 29 | + set(CONFIGURE_COMMAND ac_cv_va_copy=C99 ./configure CXXFLAGS=-fPIC --host=${HOST_SYS} |
| 30 | --with-cxx --without-perl --without-php --without-pgsql |
| 31 | --prefix=${BINARY_DIR}/thirdparty/ossp-uuid-install) |
| 32 | string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type) |
| 33 | -- |
| 34 | 2.25.1 |
| 35 | |