From 5f419eaa3289903a44c34fa1280e51bc197c65f3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 30 Aug 2010 09:27:24 -0600 Subject: packaging: Build with -O3 --- packaging/RHEL-CTDB/configure.rpm | 2 +- packaging/RHEL-CTDB/samba.spec.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/RHEL-CTDB/configure.rpm b/packaging/RHEL-CTDB/configure.rpm index 61276f83c9..527b14f131 100755 --- a/packaging/RHEL-CTDB/configure.rpm +++ b/packaging/RHEL-CTDB/configure.rpm @@ -26,7 +26,7 @@ fi ./autogen.sh -CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE" ./configure -C \ +CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C \ --prefix=${_prefix} \ --localstatedir=/var \ --with-configdir=${_sysconfdir}/samba \ diff --git a/packaging/RHEL-CTDB/samba.spec.tmpl b/packaging/RHEL-CTDB/samba.spec.tmpl index 8e7179c61e..fd5380f3c8 100644 --- a/packaging/RHEL-CTDB/samba.spec.tmpl +++ b/packaging/RHEL-CTDB/samba.spec.tmpl @@ -157,7 +157,7 @@ export CC CC_SAVE="$CC" CC="$CC -m32" -CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -m32" ./configure \ +CFLAGS="$RPM_OPT_FLAGS -O3 -D_GNU_SOURCE -m32" ./configure \ --prefix=%{_prefix} \ --localstatedir=/var \ --with-configdir=%{_sysconfdir}/samba \ -- cgit