Hi, Ian, list,

This patch was posed for v5 and was taken in.  We should do something
similar for v4.  Guillaume noted that the build process is somewhat
unorthodox, so perhaps we should fix it "the right way."  However, I lack
the cycles at the moment.

-Jeff

diff --git a/Makefile.rules b/Makefile.rules
index 99393f6..82ded1f 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -22,10 +22,16 @@ CFLAGS    = -O2 -g -DDEBUG
 LDFLAGS   = -g
 STRIP     = :
 else
+ifdef DONTSTRIP
+CFLAGS    = -O2 -g
+LDFLAGS   = -g
+STRIP     = :
+else # normal compile
 CFLAGS    = -O3 -fomit-frame-pointer -Wall
 LDFLAGS   = -s
 STRIP     = strip --strip-debug
-endif
+endif # DONTSTRIP
+endif # DEBUG
 
 CC        = gcc
 CXX       = g++

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to