Sebastian Huber created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/425

Project:Branches: sebhub/rtems:build-provide-ldflags to rtems/rtos/rtems:main
Author:   Sebastian Huber
Assignee: Sebastian Huber



## Summary

build: Provide LDFLAGS for pkg-config

Some pkg-config variants perform transformations on the --libs options.
This may lead to completely broken linker options:

https://github.com/pkgconf/pkgconf/issues/371

Provide the LDFLAGS as a variable.  Do not add the ABI_FLAGS to LDFLAGS
since they are already contained in the CFLAGS.  The linker command line
should include the compiler flags so that link-time optimization works
properly.

Update #5169.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/425
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to