mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
package/mesa3d: remove unnecessary passing of CFLAGS
This package uses meson-package infrastracture, so we don't need to explicitly pass its additional CFLAGS to some variable. The only thing we need to pass them is to use MESA3D_CFLAGS, because in package/pkg-meson.mk we have: $(2)_CFLAGS ?= $$(TARGET_CFLAGS) that makes the work automatically, where $(2) is exactly the package name, though $(2)_CFLAGS expands to MESA3D_CFLAGS. So let's remove the MESA3D_CONF_OPTS += -DCMAKE_C_FLAGS="$(MESA3D_CFLAGS)" line that has been added by mistake. Note: this doesn't fix any bug, but remove an unnecessary and ambiguos line Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
bf87ae9cff
commit
4383fde622
@@ -266,6 +266,4 @@ ifeq ($(BR2_m68k),y)
|
|||||||
MESA3D_CFLAGS += -mlong-jump-table-offsets
|
MESA3D_CFLAGS += -mlong-jump-table-offsets
|
||||||
endif
|
endif
|
||||||
|
|
||||||
MESA3D_CONF_OPTS += -DCMAKE_C_FLAGS="$(MESA3D_CFLAGS)"
|
|
||||||
|
|
||||||
$(eval $(meson-package))
|
$(eval $(meson-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user