Skip to contentSkip to conversation

package/libmicrohttpd: Fix build with c99 compilers

PATCH New Bernd Kuhls 2 participants 2 messages Jun 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libmicrohttpd: Fix build with c99 compilers

Fixes
http://autobuild.buildroot.net/results/734/734652bbdd7b6b18a8d67a30fe03bed62cd644e7/
http://autobuild.buildroot.net/results/d03/d03d36bfd4a97ff8091a815a45b4670bff992233/

---
 package/libmicrohttpd/libmicrohttpd.mk | 1 +
 1 file changed, 1 insertion(+)
package/libmicrohttpd/libmicrohttpd.mk +1 -0
index 84bb6b1..c53676f 100644
@@ -9,6 +9,7 @@ LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd
 LIBMICROHTTPD_LICENSE_FILES = COPYING
 LIBMICROHTTPD_INSTALL_STAGING = YES
 LIBMICROHTTPD_CONF_OPTS = --disable-curl --disable-examples
+LIBMICROHTTPD_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
 
 ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y)
 LIBMICROHTTPD_LICENSE = LGPLv2.1+
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 package/libmicrohttpd: Fix build with c99 compilers

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Fixes
http://autobuild.buildroot.net/results/734/734652bbdd7b6b18a8d67a30fe03bed62cd644e7/
http://autobuild.buildroot.net/results/d03/d03d36bfd4a97ff8091a815a45b4670bff992233/

You mean NOT c99 compilers. Committed with the commit message fixed / extended, thanks.

Signature · 1 line
Bye, Peter Korsgaard