Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#43962 - DEBUG_LDFLAGS in makepkg.conf

Attached to Project: Pacman
Opened by Neven Sajko (Neven) - Thursday, 26 February 2015, 12:47 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 29 May 2018, 06:47 GMT
Task Type Feature Request
Category makepkg
Status Assigned
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 4.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


It would be nice to be able to use DEBUG_LDFLAGS in addition to DEBUG_CFLAGS and DEBUG_CXXFLAGS.
This task depends upon

Comment by Allan McRae (Allan) - Thursday, 26 February 2015, 13:06 GMT
What LDFLAGS would you add to improve debugging?
Comment by Neven Sajko (Neven) - Thursday, 26 February 2015, 13:40 GMT
To use ThreadSanitizer, you need to add -pie and -fsanitize=thread to LDFLAGS (likewise with AddressSanitizer).