osquery / osquery-toolchain

A LLVM-based toolchain for Linux designed to build a portable osquery
Other
38 stars 22 forks source link

Remove remaining debug symbols #13

Open Smjert opened 5 years ago

Smjert commented 5 years ago

I recently noticed that an osquery Release build contains debug information.

I've tested with a simple cpp file and indeed our clang creates a Release binary with some debug symbols. Checking the toolchain provided files I noticed that /usr/local/osquery-toolchain/lib/libc-2.12.2.so for instance is marked having debug symbols. I'm not sure why, since I've built clang with MinSizeRel and crosstool-ng should be also building in Release mode. Anyway, I think we need to double check the configuration.