debian/rules: pass --as-needed to configure.
authorCristian Greco <cristian@regolo.cc>
Sun, 16 May 2010 17:53:53 +0000 (19:53 +0200)
committerCristian Greco <cristian@regolo.cc>
Sun, 16 May 2010 17:53:53 +0000 (19:53 +0200)
debian/rules

index 1803356..d24e284 100755 (executable)
@@ -3,8 +3,8 @@
 %:
        dh $@
 
-#override_dh_auto_configure:
-#      dh_auto_configure -- -DENABLE_DEBUG=ON
+override_dh_auto_configure:
+       dh_auto_configure -- -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed"
 
 override_dh_auto_install:
        dh_auto_install