This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [ping][PATCH 04/19] Use MODULE_NAME in stap-probe instead of IN_LIB
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 7 Nov 2014 15:32:06 -0800 (PST)
- Subject: Re: [ping][PATCH 04/19] Use MODULE_NAME in stap-probe instead of IN_LIB
- Authentication-results: sourceware.org; auth=none
- References: <1408618663-2281-1-git-send-email-siddhesh at redhat dot com> <1408618663-2281-5-git-send-email-siddhesh at redhat dot com> <20140917124715 dot GW6586 at spoyarek dot pnq dot redhat dot com>
> * scripts/gen-libc-modules.awk (END): Generate defines for
> MODULE_NAME.
Why is this better than just putting -DMODULE_NAME=... in CPPFLAGS
as with IN_MODULE? In fact, you could pass only -DMODULE_NAME=...
and then use PASTE(MODULE_,MODULE_NAME).