# gcc: how to find unused C code

CFLAGS=-ffunction-sections \
LDFLAGS=-Wl,--gc-sections,--print-gc-sections \
meson setup build .
ninja -C build

# What about data, rather than code? Those global values that were left unremoved?
# That is done by adding `-fdata-sections` to CFLAGS.
