Index: geoipupdate-3.1.1/bin/Makefile.in
--- geoipupdate-3.1.1/bin/Makefile.in.orig	2017-05-26 08:36:03.649422000 +0200
+++ geoipupdate-3.1.1/bin/Makefile.in	2017-05-26 08:36:46.937216000 +0200
@@ -501,8 +501,8 @@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-AM_CPPFLAGS = -I$(top_srcdir)/src -DSYSCONFDIR=\"$(sysconfdir)\" -DDATADIR=\"$(datadir)/GeoIP\" \
-			  -std=c99 -Wall -Wextra
+AM_CPPFLAGS = -I$(top_srcdir)/src -DSYSCONFDIR=\"$(sysconfdir)\" -DDATADIR=\"$(datadir)/geoip2/db\" \
+			  -std=c99
 
 geoipupdate_SOURCES = \
 					  geoipupdate.c geoipupdate.h \
