[Pkg-scicomp-devel] abinit/trunk/debian
Christophe Prud'homme
prudhomm at debian.org
Sat Jul 28 12:16:30 UTC 2007
SVN commit 1754 by prudhomm:
Ondrej
what about those opt flags?
M +11 -1 abinit/trunk/debian/rules
--- abinit/trunk/debian/rules #1753:1754
@@ -20,8 +20,10 @@
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
+ FFLAGS += -O0
else
CFLAGS += -O2
+ FFLAGS += -O2
endif
config.status: configure
@@ -33,7 +35,15 @@
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
- ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+ ./configure \
+ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr \
+ --mandir=\$${prefix}/share/man \
+ --infodir=\$${prefix}/share/info \
+ --with-cc-optflags="-O2" \
+ --with-cxx-optflags="-O2" \
+ --with-fc-optflags="-O2" \
+ CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
build: build-stamp
More information about the Pkg-scicomp-devel
mailing list