[med-svn] r5058 - trunk/packages/autodocksuite/trunk/debian
Steffen Möller
moeller at alioth.debian.org
Tue Jul 20 23:08:33 UTC 2010
Author: moeller
Date: 2010-07-20 23:08:32 +0000 (Tue, 20 Jul 2010)
New Revision: 5058
Modified:
trunk/packages/autodocksuite/trunk/debian/rules
Log:
Played around with gcc-4.6 and the -Wsuggest-attribute=const
feature - this was disappointing, though.
Modified: trunk/packages/autodocksuite/trunk/debian/rules
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/rules 2010-07-20 08:12:16 UTC (rev 5057)
+++ trunk/packages/autodocksuite/trunk/debian/rules 2010-07-20 23:08:32 UTC (rev 5058)
@@ -9,14 +9,17 @@
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
- CFLAGS += -O2
+ CFLAGS += -O2
endif
+#CFLAGS += -Wsuggest-attribute=const
+CXXFLAGS=$(CFLAGS)
+
configure: configure-stamp
configure-stamp: $(QUILT_STAMPFN)
dh_testdir
for d in autogrid autodock; do \
- ( cd $$d && autoreconf -i && ./configure CFLAGS="$(CFLAGS)" --prefix=/usr ) \
+ ( cd $$d && autoreconf -i && ./configure CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" --prefix=/usr ) \
done
touch configure-stamp
More information about the debian-med-commit
mailing list