void-packages/srcpkgs/gdb
Érico Rolim 7b29471bd8 srcpkgs: don't append CFLAGS outside of funtions.
Package templates are sourced multiple times during the build process,
which can lead to issues when defining variables like CFLAGS using
`CFLAGS+=`, since the contents will be added multiple times. This can
lead to a build command with `-static -static`, for example. Adding to
CFLAGS inside functions is safe, since functions are run only once.
2020-08-22 04:33:45 +00:00
..
patches
template