extinguish opened a new pull request, #17859:
URL: https://github.com/apache/nuttx/pull/17859

   ## Summary
   
   Move the -fmacro-prefix-map compile option from the common CMake 
configuration to toolchain‑specific sections, ensuring it is only applied to 
GCC/Clang/ArmClang toolchains. This prevents Green Hills (GHS) compiler 
warnings about unrecognized options.
   
   ## Impact
   
   1. Eliminates spurious warnings (“Unknown option ‘-fmacro-prefix-map=...’ 
passed to linker”) when building with the Green Hills toolchain.
   2. Maintains the intended build‑path mapping behavior for GCC‑family 
toolchains (GCC, Clang, ArmClang).
   3. No functional change to the generated binaries; only a cleanup of 
build‑system noise.
   
   ## Testing
   
   Verified that GHS builds no longer report warnings about -fmacro-prefix-map.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to