This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: adding CFLAGS or EXTRA_CFLAGS
- From: Arkady <arkady dot miasnikov at gmail dot com>
- To: Daniel Doron <danielmeirdoron at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Tue, 15 Aug 2017 12:34:50 +0300
- Subject: Re: adding CFLAGS or EXTRA_CFLAGS
- Authentication-results: sourceware.org; auth=none
- References: <CAFwN=+x4ERxhzn9PKv3HYKCcvq2FEau2y_5-UP_uuUjNiEm-fw@mail.gmail.com>
If you use -B you do not change include path either. The include path
is specified in the kernel module makefile.
On Tue, Aug 15, 2017 at 11:02 AM, Daniel Doron
<danielmeirdoron@gmail.com> wrote:
> Hi,
>
> Is it possible to send via stap extra cflags?
>
> I tried with "-D EXTRA_CFLAGS=-I$PWD"
>
> but I get:
> ERROR: Safety pattern mismatch for -D parameter
> ('EXTRA_CFLAGS=-I/home/danield/workspace/myproject' vs.
> '^[a-z_][a-z_0-9]*(=-?[a-z_0-9]+)?$') rc=1
>
>
> Thanks
> Daniel.