]> git.ipfire.org Git - thirdparty/libarchive.git/commit
cmake: fold gcc/clang sections
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 21 Nov 2021 14:26:53 +0000 (14:26 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 21 Nov 2021 14:28:29 +0000 (14:28 +0000)
commit8d4d0b346fcb22ef9b5f7165eae4d5a18bd62f09
treea2942293332383a50a29f9c8ad438e7c96c5380e
parent4f598ce28aa370e945103eb9a17f03c7c820c1e8
cmake: fold gcc/clang sections

The flags used across the two are identical, apart from -g.
There is no compelling reason, why we would omit -g for debug builds
with GCC, while using it with clang.

De-duplicate the sections.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
CMakeLists.txt