[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: add additional -D from the debian/rules file?



* Paul Elliott <pelliott@blackpatchpanel.com> [130815 11:52]:
>
> What is the official way to add additional -D definitions
> to the gcc command line from the debian/rules file?
>
> Is it  DEB_CFLAGS_MAINT_APPEND ?

DEB_CPPFLAGS_MAINT_APPEND, as -D is for the C PreProcessor
and not the Compiler itself. Make sure it is in the environment
of the dpkg-buildflags actually called (usually you need a
export there).

        Bernhard R. Link


Reply to: