--- configure.orig	2016-08-07 00:52:11.000000000 -0700
+++ configure	2016-08-07 00:52:20.000000000 -0700
@@ -3131,7 +3131,7 @@ fi
 
 
 # Determine the linker flags for mozplugger.so
-LDSHARED='gcc -shared'
+LDSHARED='${CC} -shared'
 PLATFORM="x`uname`"
 XCFLAGS="-fPIC -Wall -O2"
 
