mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
libtasn1: fix host build under old GCC
prereq-build.mk says that GCC 4.8 and above is supported. GCC 4.8
defaults to std=gnu89, breaking the build. GCC5 defaults to gnu99.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 6d100823e9)
This commit is contained in:
@@ -39,6 +39,7 @@ define Package/libtasn1/description
|
|||||||
Distinguish Encoding Rules (DER) manipulation.
|
Distinguish Encoding Rules (DER) manipulation.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
HOST_CFLAGS += -std=gnu99
|
||||||
TARGET_CFLAGS += -ffunction-sections -fdata-sections
|
TARGET_CFLAGS += -ffunction-sections -fdata-sections
|
||||||
TARGET_LDFLAGS += -Wl,--gc-sections
|
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user