--- Config.mk.in.orig	2011-03-17 04:11:26.000000000 +1100
+++ Config.mk.in	2011-06-08 15:31:14.000000000 +1000
@@ -18,7 +18,7 @@
 DOXYGEN		:= @DOXYGEN@
 INSTALL		:= @INSTALL@
 
-INSTALLDATA	:= ${INSTALL} -D -p -m 644
+INSTALLDATA	:= ${INSTALL} -p -m 644
 INSTALLLIB	:= ${INSTALLDATA}
 
 ################ Destination #########################################
@@ -41,10 +41,9 @@
 LIBS		:=
 ifdef DEBUG
     CXXFLAGS	+= -O0 -g
-    LDFLAGS	+= -rdynamic
 else
     CXXFLAGS	+= -Os -g0 -DNDEBUG=1 -fomit-frame-pointer ${INLINEOPTS}
-    LDFLAGS	+= -s -Wl,-gc-sections
+    LDFLAGS	+= -s -dead_strip
 endif
 ifdef NOLIBSTDCPP
     LD		:= @CC@
