Makethird: fix shared=yes build of thirdparty/gumbo-parser.
authorJulian Smith <[email protected]>
Wed, 15 Jul 2020 17:02:25 +0000 (18:02 +0100)
committerJulian Smith <[email protected]>
Tue, 25 Aug 2020 15:10:20 +0000 (16:10 +0100)
Need to use -fPIC from $(LIB_CFLAGS). (Thanks to Robin for this fix.)

Makethird

index c1d7a9667c4637355af050222a88aeb72bbe1f30..6acc6d8dd9d99cc94e29ac37fefb388f928b032f 100644 (file)
--- a/Makethird
+++ b/Makethird
@@ -111,7 +111,7 @@ THIRD_SRC += thirdparty/gumbo-parser/src/vector.c
 THIRD_CFLAGS += -Ithirdparty/gumbo-parser/src
 
 $(OUT)/thirdparty/gumbo-parser/%.o: thirdparty/gumbo-parser/%.c
-       $(CC_CMD) -Wno-sign-compare
+       $(CC_CMD) $(LIB_CFLAGS) -Wno-sign-compare
 
 endif