[PATCH v1 1/3] perf config: Add -DNO_GLIBC to CFLAGS

2018-03-26 Thread Jin Yao
For most of libraries, in perf.config, they can be recorded with -DHAVE_XXX or -DNO_XXX in CFLAGS according to if they are compiled-in. Then C code could know if the library is compiled-in or not. While for glibc, no existing -DHAVE_XXX or -DNO_XXX. This patch adds -DNO_GLIBC to CFLAGS.

[PATCH v1 1/3] perf config: Add -DNO_GLIBC to CFLAGS

2018-03-26 Thread Jin Yao
For most of libraries, in perf.config, they can be recorded with -DHAVE_XXX or -DNO_XXX in CFLAGS according to if they are compiled-in. Then C code could know if the library is compiled-in or not. While for glibc, no existing -DHAVE_XXX or -DNO_XXX. This patch adds -DNO_GLIBC to CFLAGS.