blob: ceb8ec34b16dff9065e6da98c6593d24115545af [file] [log] [blame]
Andrew Geissler220dafd2023-10-04 10:18:08 -05001From ab031c2b1f8c03e23a8dc8a95c9c9e9b8ce397b2 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Fri, 15 Sep 2023 11:32:11 +0800
4Subject: [PATCH] BundledOSSPUUID.cmake: Pass CFLAGS to compiler
5
6Make sure -fdebug-prefix-map options are passed to compiler to fix the
7below 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
9File /usr/bin/.debug/minifi in package minifi-cpp-dbg contains reference to TMPDIR [buildpaths]
10
11Upsteam-Status: Pending
12
13Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
14---
15Upstream-Status: Pending
16
17 cmake/BundledOSSPUUID.cmake | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/cmake/BundledOSSPUUID.cmake b/cmake/BundledOSSPUUID.cmake
21index 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--
342.25.1
35