Browse Source

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>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
6d100823e9
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libs/libtasn1/Makefile

+ 1
- 0
libs/libtasn1/Makefile View File

@ -39,6 +39,7 @@ define Package/libtasn1/description
Distinguish Encoding Rules (DER) manipulation.
endef
HOST_CFLAGS += -std=gnu99
TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -Wl,--gc-sections


Loading…
Cancel
Save