Wouldn't it be better to just compile it without the debug symbols if you're just going to delete them anyway?