[Buildroot] [PATCH] mmc-utils: allow enabling of "dangerous commands"
Markus Mayer
mmayer at broadcom.com
Fri Oct 14 17:20:37 UTC 2022
On Thu, 13 Oct 2022 at 17:51, Markus Mayer <mmayer at broadcom.com> wrote:
> # override AM_CFLAGS as the project Makefile uses it to pass
> # -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2, and the latter conflicts
> # with the _FORTIFY_SOURCE that we pass when hardening options are
> # enabled.
> define MMC_UTILS_BUILD_CMDS
> - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) AM_CFLAGS=
> + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS=$(MMC_UTILS_CFLAGS) \
> + AM_CFLAGS=
> endef
Sorry, there are some quotes missing. v2 submitted.
Regards,
-Markus
More information about the buildroot
mailing list