---
 src/makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/src/makefile
+++ b/src/makefile
@@ -32,7 +32,7 @@ endif
 CFLAGS += $(DEBUGFLAGS)
 
 #  Libraries and linker flags for edbrowse.
-LDFLAGS = $(STRIP) $(LINKER_LIBS) -lpthread -lm -lssl -lcrypto
+LDFLAGS += $(STRIP) $(LINKER_LIBS) -lpthread -lm -lssl -lcrypto
 
 # LDFLAGS for quickjs loading.
 QUICKJS_LDFLAGS = $(QUICKJS_LIB)/libquickjs.a -ldl
@@ -68,7 +68,7 @@ msg-strings.c: ../lang/msg-*
 	cd .. ; $(PERL) ./tools/buildmsgstrings.pl
 
 jseng-quick.o : jseng-quick.c
-	$(CC) -I$(QUICKJS_INCLUDE) $(CFLAGS) -c jseng-quick.c
+	$(CC) -I$(QUICKJS_INCLUDE) $(CPPFLAGS) $(CFLAGS) -c jseng-quick.c
 
 # The implicit linking rule isn't good enough, because we don't have an
 # edbrowse.o object, and it expects one.
