diff --git a/srcpkgs/fdupes/template b/srcpkgs/fdupes/template
index 733e4f509a..a89e682b65 100644
--- a/srcpkgs/fdupes/template
+++ b/srcpkgs/fdupes/template
@@ -1,8 +1,7 @@
 # Template file for 'fdupes'
 pkgname=fdupes
 version=1.51
-revision=1
-build_style=gnu-makefile
+revision=2
 distfiles="https://fdupes.googlecode.com/files/fdupes-${version}.tar.gz"
 checksum="87dbc85b7b9cdb9626e713dd8078bd7487bceb58d47ceaff5404a9e6fd062881"
 maintainer="Steven R <strob AT styez DOT com>"
@@ -10,6 +9,10 @@ homepage="https://code.google.com/p/fdupes/"
 license="MIT"
 short_desc="Identifying or deleting duplicate files residing within specified directories"
 
+do_build() {
+  make CC="$CC"
+}
+
 do_install() {
   vinstall fdupes 755 usr/bin
   vinstall fdupes.1 644 usr/share/man/man1
@@ -19,4 +22,4 @@ fdupes_package() {
   pkg_install() {
     vmove all
   }
-}
\ No newline at end of file
+}