mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
libv4l: fix glibc compilation
There was a typo in the linker flags.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit b945b0790f)
This commit is contained in:
committed by
Luiz Angelo Daros de Luca
parent
8d8d71b87d
commit
fb40eb45a6
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=v4l-utils
|
PKG_NAME:=v4l-utils
|
||||||
PKG_VERSION:=1.20.0
|
PKG_VERSION:=1.20.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=https://www.linuxtv.org/downloads/v4l-utils
|
PKG_SOURCE_URL:=https://www.linuxtv.org/downloads/v4l-utils
|
||||||
@@ -78,7 +78,7 @@ endef
|
|||||||
TARGET_CFLAGS += -flto
|
TARGET_CFLAGS += -flto
|
||||||
TARGET_CXXFLAGS += -std=c++11
|
TARGET_CXXFLAGS += -std=c++11
|
||||||
TARGET_LDFLAGS += \
|
TARGET_LDFLAGS += \
|
||||||
$(if $(CONFIG_LIBC_USE_GLIBC),,-largp) \
|
$(if $(CONFIG_USE_GLIBC),,-largp) \
|
||||||
-Wl,--gc-sections,--as-needed
|
-Wl,--gc-sections,--as-needed
|
||||||
|
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
|
|||||||
Reference in New Issue
Block a user