diff --git a/tools/pclcom.lisp b/tools/pclcom.lisp
index 357fafa7d1f1c019649b03f716edefc4e4f10467..5414fc60c6221fed484c254f779130b8129e4979 100644
--- a/tools/pclcom.lisp
+++ b/tools/pclcom.lisp
@@ -15,5 +15,8 @@
 
 (import 'kernel:funcallable-instance-p (find-package "PCL"))
 
-(with-compilation-unit ()
-  (pcl::compile-pcl))
+(with-compilation-unit
+    (:optimize '(optimize (debug-info #+small 1 #-small 2)
+			  (speed 2)
+			  (inhibit-warnings 2)))
+ (pcl::compile-pcl))