Commit ba25882c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

contribs: Fix iconv build when using gcc 5.x

GCC 5.x defaults to -std=gnu11, which changes the __inline keyword
semantics, causing some iconv functions not to be inlined, but they are
not declared as exported, thus causing linking to iconv to fail
parent c46f984f
...@@ -33,6 +33,6 @@ endif ...@@ -33,6 +33,6 @@ endif
$(MOVE) $(MOVE)
.iconv: iconv .iconv: iconv
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-nls cd $< && $(HOSTVARS) ./configure CFLAGS="$(CFLAGS) -fgnu89-inline" $(HOSTCONF) --disable-nls
cd $< && $(MAKE) install cd $< && $(MAKE) install
touch $@ touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment