Index: examples/multithread/Makefile.in
--- examples/multithread/Makefile.in.orig
+++ examples/multithread/Makefile.in
@@ -461,7 +461,6 @@ multithread_LDFLAGS = \
 	-lmodsecurity \
 	-lpthread \
 	-lm \
-	-lstdc++ \
 	$(LMDB_LDFLAGS) \
 	$(LUA_LDFLAGS) \
 	$(MAXMIND_LDFLAGS) \
@@ -475,7 +474,6 @@ multithread_CPPFLAGS = \
 	-g \
 	-I../others \
 	-fPIC \
-	-O3 \
 	$(CURL_CFLAGS) \
 	$(GEOIP_CFLAGS) \
 	$(GLOBAL_CPPFLAGS) \
