conformal / spectrwm

A small dynamic tiling window manager for X11.
ISC License
1.33k stars 96 forks source link

linux: Don't force building debugging symbols #514

Closed orbea closed 1 year ago

orbea commented 1 year ago

Setting -g should be up to the user and can be set in the CFLAGS environment variable. Building debugging symbols is slower especially on weaker hardware and will cause an increase in disk writes. Additionally many distros will just strip the symbols away making this wasteful.

LordReg commented 1 year ago

I think this can be dropped on all Makefiles since it just gets patched out by packagers, including on OpenBSD. It's simple enough to add -g when rebuilding with -DSWM_DEBUG, you cool @marcopeereboom ?