projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15257f5
)
libtasn1: fix host build under old GCC
author
Rosen Penev
<rosenp@gmail.com>
Sun, 24 May 2020 04:11:46 +0000
(21:11 -0700)
committer
Rosen Penev
<rosenp@gmail.com>
Mon, 25 May 2020 06:30:51 +0000
(23:30 -0700)
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
6d100823e975da012210213c6c29f7f4b3e1123c
)
libs/libtasn1/Makefile
patch
|
blob
|
history
diff --git
a/libs/libtasn1/Makefile
b/libs/libtasn1/Makefile
index 7a7d3d74398ea763af93814c625824727477c0eb..2da74e67f5d2ba137390b381b7bb395e9e4002b2 100644
(file)
--- a/
libs/libtasn1/Makefile
+++ b/
libs/libtasn1/Makefile
@@
-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