--- a/src/mk/SunOS
+++ b/src/mk/SunOS
@@ -1,13 +1,9 @@
 include ../mk/commondefs
+include ../mk/localdefs
 
-CXXFLAGS = $(COMMONCXXFLAGS)
+CXXFLAGS = $(COMMONCXXFLAGS) $(LOCALCXXFLAGS)
 
 CC=gcc
 CXX=g++
 
-# Note that we use a static libiconv only to ease installation of binary
-# packages
-#LIBICONV =  -L/usr/local/lib -liconv
-LIBICONV =  /usr/local/lib/libiconv.a
-
 LIBSYS = -lpthread -lnsl -lsocket