diff --git a/third_party/bouffalolab/bl702/bl_iot_sdk.gni b/third_party/bouffalolab/bl702/bl_iot_sdk.gni index c20d395b83e111..7e85709ce7b714 100644 --- a/third_party/bouffalolab/bl702/bl_iot_sdk.gni +++ b/third_party/bouffalolab/bl702/bl_iot_sdk.gni @@ -66,7 +66,7 @@ template("bl_iot_sdk") { if (defined(invoker.enable_debug_frame_ptr) && invoker.enable_debug_frame_ptr) { - cflags = [ "-fno-omit-frame-pointer" ] + cflags += [ "-fno-omit-frame-pointer" ] } } diff --git a/third_party/bouffalolab/bl702l/bl_iot_sdk.gni b/third_party/bouffalolab/bl702l/bl_iot_sdk.gni index 2a3bd679a951b9..932f97dd19fb25 100644 --- a/third_party/bouffalolab/bl702l/bl_iot_sdk.gni +++ b/third_party/bouffalolab/bl702l/bl_iot_sdk.gni @@ -66,7 +66,7 @@ template("bl_iot_sdk") { if (defined(invoker.enable_debug_frame_ptr) && invoker.enable_debug_frame_ptr) { - cflags = [ "-fno-omit-frame-pointer" ] + cflags += [ "-fno-omit-frame-pointer" ] } }