[Buildroot] [PATCH v8 1/1] package/dhcp: bump version to 4.3.3-P1

Ricardo Martincoski ricardo.martincoski at gmail.com
Sun Feb 14 23:19:25 UTC 2016


Doug, Arnout,

On Sun, Feb 14, 2016 at 02:24 PM, Doug Kehn <rdkehn at yahoo.com> wrote:
> +# bind configure is called via dhcp make instead of dhcp configure. The make env
> +# needs extra values for bind configure.
> +DHCP_MAKE_ENV = \
> +	$(TARGET_CONFIGURE_OPTS) \
> +	BUILD_CC="$(HOSTCC)" \
> +	BUILD_CFLAGS="$(HOST_CFLAGS)" \
> +	BUILD_CPPFLAGS="$(HOST_CXXFLAGS)" \

It is conceptually wrong. Probably a typo.

https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
CXXFLAGS  Extra flags to give to the C++ compiler.
CPPFLAGS  Extra flags to give to the C preprocessor and programs that
          use it (the C and Fortran compilers).

> +	BUILD_LDFLAGS="$(HOST_LDFLAGS)"
> +


Arnout,
Can you confirm this is what you suggested?

DHCP_MAKE_ENV = \
	$(TARGET_CONFIGURE_OPTS) \
	BUILD_CC="$(HOSTCC)" \
	BUILD_CFLAGS="$(HOST_CFLAGS)" \
	BUILD_CPPFLAGS="$(HOST_CPPFLAGS)" \
	BUILD_LDFLAGS="$(HOST_LDFLAGS)"

See original reply to [PATCH v7]:
>On Wed, Feb 10, 2016 at 08:51 PM, Arnout Vandecappelle <arnout at mind.be> wrote:
>>  For consistency, we should also pass HOST_CFLAGS, HOST_CPPFLAGS and
>> HOST_LDFLAGS, but they're actually not so useful. Oh, wait, the HOST_LDFLAGS
>> are, in case it links with anything in HOST_DIR (which it doesn't, of course).
>> Still, just to be safe...


Doug,
With the typo fixed, you can add my:
Reviewed-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>

Regards,
Ricardo


More information about the buildroot mailing list