<commit_before>diff --git a/support/xhpast/Makefile b/support/xhpast/Makefile
index 215f243..2afebe9 100644
--- a/support/xhpast/Makefile
+++ b/support/xhpast/Makefile
@@ -1,7 +1,7 @@
 ifdef DEBUG
 CPPFLAGS = -fPIC -ggdb -Wall -DDEBUG
 else
-CPPFLAGS = -fPIC -g -Wall -O3 -minline-all-stringops
+CPPFLAGS = -fPIC -Wall -minline-all-stringops
 endif
 
 ifdef PROFILE
@@ -45,7 +45,7 @@ node_names.hpp: generate_nodes.php
 	cp parser_nodes.php $(ROOT)/
 
 %.o: %.cpp
-	$(CXX) -c $(CPPFLAGS) -o $@ $<
+	$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
 
 needparserscanner:
 	 @([ -e parser.yacc.hpp ] && [ -e parser.yacc.cpp ] && \
@@ -60,6 +60,6 @@ libxhpast.a: astnode.o scanner.lex.o parser.yacc.o
 	$(AR) -crs $@ $^
 
 xhpast: xhpast.cpp libxhpast.a
-	$(CXX) $(CPPFLAGS) -o $@ $^
+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
 
 .PHONY: all clean<commit_msg>Update the patch file<commit_after>--- support/xhpast/Makefile.orig	2015-09-01 10:13:13.889721680 +0200
+++ support/xhpast/Makefile	2015-09-01 10:13:57.241719992 +0200
@@ -7,7 +7,7 @@
 	CPPFLAGS   += -ggdb -DDEBUG
 	FLEXFLAGS  += --debug
 else
-	CPPFLAGS  += -O3 -minline-all-stringops
+	CPPFLAGS  += -minline-all-stringops
 endif
 
 ifdef PROFILE
@@ -53,7 +53,7 @@
 	@echo '/* @gen''er''ated */' >> $*.yacc.cpp
 
 %.o: %.cpp
-	$(CXX) -c $(CPPFLAGS) -o $@ $<
+	$(CXX) -c $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
 
 node_names.hpp parser_nodes.php: generate_nodes.php
 	php -f $<
@@ -65,4 +65,4 @@
 	$(AR) -crs $@ $^
 
 xhpast: xhpast.cpp libxhpast.a
-	$(CXX) $(CPPFLAGS) -o $@ $^
+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
{'fraction_non_alphanumeric': 0.2215909090909091, 'fraction_numerical': 0.06439393939393939, 'mean_word_length': 3.193121693121693, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4035648', 'n_tokens_mistral': 799, 'n_tokens_neox': 676, 'n_words': 140}