diff --git a/cross/intel-gpu-tools/Makefile b/cross/intel-gpu-tools/Makefile index 53bb4d95f8b..14234c75f51 100644 --- a/cross/intel-gpu-tools/Makefile +++ b/cross/intel-gpu-tools/Makefile @@ -24,4 +24,6 @@ CONFIGURE_ARGS += -Dman=disabled CONFIGURE_ARGS += -Dtestplan=disabled CONFIGURE_ARGS += -Dtests=disabled +ADDITIONAL_CFLAGS = -O + include ../../mk/spksrc.cross-meson.mk diff --git a/cross/libelf/Makefile b/cross/libelf/Makefile index f07369c2e6b..481c8483d2c 100644 --- a/cross/libelf/Makefile +++ b/cross/libelf/Makefile @@ -14,6 +14,8 @@ LICENSE = LPGL GNU_CONFIGURE = 1 +ADDITIONAL_CFLAGS = -O + INSTALL_MAKE_OPTIONS = install instroot=$(INSTALL_DIR) prefix=$(INSTALL_PREFIX) include ../../mk/spksrc.cross-cc.mk diff --git a/cross/libkmod/Makefile b/cross/libkmod/Makefile index 3d49b3bf493..2d22069b5b8 100644 --- a/cross/libkmod/Makefile +++ b/cross/libkmod/Makefile @@ -11,9 +11,11 @@ HOMEPAGE = https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/about/ COMMENT = kmod is a set of tools to handle common tasks with Linux kernel modules like insert, remove, list, check properties, resolve dependencies and aliases. LICENSE = LGPL 2.1 -GNU_CONFIGURE = 1 PRE_CONFIGURE_TARGET = kmod_pre_configure + +GNU_CONFIGURE = 1 CONFIGURE_ARGS = --disable-manpages +ADDITIONAL_CFLAGS = -O include ../../mk/spksrc.cross-cc.mk diff --git a/cross/libmount/Makefile b/cross/libmount/Makefile index b7c67ffda62..8b71727b9a6 100644 --- a/cross/libmount/Makefile +++ b/cross/libmount/Makefile @@ -4,7 +4,7 @@ PKG_VERS = 2.39.3 PKG_VERS_MAJOR = $(word 1,$(subst ., ,$(PKG_VERS))).$(word 2,$(subst ., ,$(PKG_VERS))) PKG_EXT = tar.xz PKG_DIST_NAME = $(PKG_REAL_NAME)-$(PKG_VERS).$(PKG_EXT) -PKG_DIST_SITE = https://www.kernel.org/pub/linux/utils/$(PKG_REAL_NAME)/v$(PKG_VERS_MAJOR) +PKG_DIST_SITE = https://www.kernel.org/pub/linux/utils/util-linux/v$(PKG_VERS_MAJOR) # use dedicated folder to build independent of other libraries built from util-linux (i.e. libuuid) PKG_DIR = $(PKG_NAME)/$(PKG_REAL_NAME)-$(PKG_VERS) EXTRACT_PATH = $(WORK_DIR)/$(PKG_NAME) @@ -23,6 +23,6 @@ CONFIGURE_ARGS = --disable-static --without-ncurses --without-python --disable-a # Create libblkid only CONFIGURE_ARGS += --disable-all-programs --enable-libmount --enable-libblkid -ADDITIONAL_CFLAGS = -Wno-unused-parameter +ADDITIONAL_CFLAGS = -O -Wno-unused-parameter include ../../mk/spksrc.cross-cc.mk diff --git a/cross/libpciaccess/Makefile b/cross/libpciaccess/Makefile index 5a4011737b1..528381f45f1 100644 --- a/cross/libpciaccess/Makefile +++ b/cross/libpciaccess/Makefile @@ -11,4 +11,6 @@ HOMEPAGE = https://gitlab.freedesktop.org/xorg/lib/libpciaccess COMMENT = Generic PCI access library. LICENSE = https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/blob/master/COPYING +ADDITIONAL_CFLAGS = -O + include ../../mk/spksrc.cross-meson.mk diff --git a/cross/libva-latest/Makefile b/cross/libva-latest/Makefile index e567855442d..3db29e95d18 100644 --- a/cross/libva-latest/Makefile +++ b/cross/libva-latest/Makefile @@ -14,4 +14,6 @@ LICENSE = MIT CONFIGURE_ARGS = -Ddriverdir=$(INSTALL_PREFIX)/lib +ADDITIONAL_CFLAGS = -Os + include ../../mk/spksrc.cross-meson.mk diff --git a/cross/libva-utils-latest/Makefile b/cross/libva-utils-latest/Makefile index 993cfa21867..0fd8b51d603 100644 --- a/cross/libva-utils-latest/Makefile +++ b/cross/libva-utils-latest/Makefile @@ -14,4 +14,6 @@ LICENSE = MIT UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS) +ADDITIONAL_CFLAGS = -O + include ../../mk/spksrc.cross-meson.mk