diff options
Diffstat (limited to 'packaging/RHEL-CTDB')
-rwxr-xr-x | packaging/RHEL-CTDB/configure.rpm | 2 | ||||
-rw-r--r-- | 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 \ |