diff -ruN openslp-2.0.0.orig/configure.ac openslp-2.0.0/configure.ac
--- openslp-2.0.0.orig/configure.ac	2013-06-08 06:58:54.000000000 +0200
+++ openslp-2.0.0/configure.ac	2013-07-12 22:17:15.000000000 +0200
@@ -240,7 +240,6 @@
     OPTFLAGS="-O"
   fi
 fi
-CFLAGS="$CFLAGS $OPTFLAGS"
 
 #
 # Configuration and output
diff -ruN openslp-2.0.0.orig/etc/Makefile.am openslp-2.0.0/etc/Makefile.am
--- openslp-2.0.0.orig/etc/Makefile.am	2012-11-28 18:07:04.000000000 +0100
+++ openslp-2.0.0/etc/Makefile.am	2013-07-12 22:28:20.000000000 +0200
@@ -3,8 +3,8 @@
 dist_sysconf_DATA = slp.conf slp.reg slp.spi
 
 #make sure the slpd log directory is there
-install-data-hook:
-	mkdir -p $(localstatedir)/log
+#install-data-hook:
+#	mkdir -p $(localstatedir)/log
 
 ##install-data-local:
 ##	mkdir -p $(DESTDIR)$(sysconfdir)
