mirror of https://github.com/thesofproject/sof.git
ee58fef921
-Wl,EL is a linker option, not a compiler option and clang does not like it at compilation time; it fails like this: ``` cd smex cmake -B build -DCMAKE_C_COMPILER=clang make -C build clang-15: error: -Wl,-EL: 'linker' input unused [-Werror,-Wunused-command-line-argument] ``` Reported by @andyross in https://github.com/google/oss-fuzz/pull/10342 oss-fuzz does not need smex at all but this one-line fix is just faster and simpler than a bigger CMake re-architecture just for oss-fuzz. Also simplify this for clang compatibility: ``` error: unknown warning option '-Wimplicit-fallthrough=3'; did you mean '-Wimplicit-fallthrough'? [-Werror,-Wunknown-warning-option] ``` Signed-off-by: Marc Herbert <marc.herbert@intel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.md | ||
elf.c | ||
elf.h | ||
elf_defs.h | ||
ldc.c | ||
ldc.h | ||
smex.c | ||
smex.h |
README.md
SOF Metadata Extractor
SMEX (SOF Metadata EXtractor) is a tool used to extract needed information from SOF source code and output files and then put then save them in convenient form like logs dictionary file (ldc).