aboutsummaryrefslogtreecommitdiff
path: root/libs/libv4l
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libv4l')
-rw-r--r--libs/libv4l/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/libv4l/Makefile b/libs/libv4l/Makefile
index fa577da2e..9e60a2b3e 100644
--- a/libs/libv4l/Makefile
+++ b/libs/libv4l/Makefile
@@ -15,7 +15,7 @@ PKG_HASH:=65c6fbe830a44ca105c443b027182c1b2c9053a91d1e72ad849dfab388b94e31
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
-PKG_BUILD_FLAGS:=no-mips16
+PKG_BUILD_FLAGS:=no-mips16 lto
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
@@ -73,7 +73,6 @@ define Package/v4l-utils/description
This package contains the video4linux utilities.
endef
-TARGET_CFLAGS += -flto
TARGET_LDFLAGS += \
$(if $(CONFIG_USE_GLIBC),,-largp) \
-Wl,--gc-sections,--as-needed