FS#19815 - [dwm] Config ignores makepkg.conf CFLAGS

Attached to Project: Community Packages
Opened by Bryce (bruce) - Wednesday, 16 June 2010, 04:13 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 16 June 2010, 08:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,
The default config.mk that is downloaded when building dwm sets CFLAGS which override/ignore those in makepkg.conf.
I propose changing config.mk (eg using sed) to make it append those values rather than overide them. Eg:
sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
There may be a reason this hasn't been done in the past etc, so I understand if you ignore this, but to my interpretation its a "bug" where makepkg can't function as is expected as a result of this setup.
Cheers :)
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 16 June 2010, 08:53 GMT
Reason for closing:  Fixed

Loading...