adding CFLAGS or EXTRA_CFLAGS

Daniel Doron danielmeirdoron@gmail.com
Tue Aug 15 10:10:00 GMT 2017


ok. thanks.

On Tue, Aug 15, 2017 at 12:42 PM, Arkady <arkady.miasnikov@gmail.com> wrote:
> A sweet word "patch"
> Another way to solve the problem is what I am using: a python script
> which concatenates STP, C, H files into a single STP file, and makes
> sure that the resulting STP is not broken.
>
> On Tue, Aug 15, 2017 at 12:34 PM, Arkady <arkady.miasnikov@gmail.com> wrote:
>> 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.



More information about the Systemtap mailing list