[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: customizing coverage
From: |
Ludovic Courtès |
Subject: |
Re: customizing coverage |
Date: |
Thu, 19 Jan 2012 23:30:55 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Thien-Thi Nguyen <address@hidden> skribis:
> () address@hidden (Ludovic Courtès)
> () Thu, 19 Jan 2012 17:43:23 +0100
>
> coverage = pkgs: {
> buildInputs = [pkgs.ed];
> + CPPFLAGS = "-DUSE_NORMAL_EXIT";
> inherit configureFlags;
> };
>
>
> Wonderful! Thanks.
What this does concretely is declare a ‘CPPFLAGS’ environment variable,
which is normally honored by both ‘configure’ and the makefiles (so you
should see -DUSE_NORMAL_EXIT twice.)
Ludo’.