diff -Naur p7zip_15.14/makefile.machine p7zip_15.14.patch/makefile.machine
--- p7zip_15.14/makefile.machine	2016-03-13 18:30:21.000000000 +0100
+++ p7zip_15.14.patch/makefile.machine	2016-03-27 03:17:45.348285607 +0200
@@ -10,8 +10,8 @@
 	-D_7ZIP_LARGE_PAGES \
 	$(LOCAL_FLAGS)
 
-CXX=g++
-CC=gcc
+CXX=$(TARGET_CXX)
+CC=$(TARGET_CC)
 CC_SHARED=-fPIC
 LINK_SHARED=-fPIC -shared
 
