libs/expat: Fix poor entropy compilation error 4619/head
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Sun, 23 Jul 2017 21:17:13 +0000 (23:17 +0200)
committerDaniel Engberg <daniel.engberg.lists@pyret.net>
Sun, 23 Jul 2017 21:26:48 +0000 (23:26 +0200)
Add the same workaround as for the expat package in toolchain.
I'm not really sure what made it work for me earlier but this seems to fix it.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
libs/expat/Makefile

index 5819e0f4f19e51cbf57a976cee169310970ddefd..894d0789c8371c8480453472965668d20674d7ae 100644 (file)
@@ -39,6 +39,9 @@ endef
 
 TARGET_CFLAGS += $(FPIC)
 
+HOST_CONFIGURE_VARS += \
+       CPPFLAGS="$(HOST_CFLAGS) -DXML_POOR_ENTROPY"
+
 CONFIGURE_ARGS += \
        --enable-shared \
        --enable-static