On 8/7/20 9:37 pm, Sebastian Huber wrote: > On 08/07/2020 13:34, Chris Johns wrote: > >> Are these flags needed for all BSPs? > Yes, these flags are needed to build and use libbsd.
Why not define them for all BSPs and for all applications? What is special about libbsd that it needs these flags over any other type of application? >> If so why add to here ... >> >> https://git.rtems.org/rtems/tree/c/src/bsp.pc.in > These are optimization flags. I thought the consensus was to export only ABI > relevant flags in the new build system. In CFLAGS yes. Pkgconfig files (.pc) support variables and I had always thought we define a number of RTEMS specific variables and these hold various flags or commands needed to handle other things, for example the options to mkimage. A user could then test for a variable and if present know this BSP does or has extra "what ever". Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel