Accepting request 358355 from home:pluskalm:branches:network:ldap

- Use optflags when building

- Use optflags when building

OBS-URL: https://build.opensuse.org/request/show/358355
OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=151
This commit is contained in:
Howard Guo 2016-02-08 15:33:33 +00:00 committed by Git OBS Bridge
parent f74d513b91
commit c4e540aea8
4 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 8 13:24:49 UTC 2016 - mpluskal@suse.com
- Use optflags when building
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 6 12:10:53 UTC 2016 - michael@stroeder.com Sat Feb 6 12:10:53 UTC 2016 - michael@stroeder.com

View File

@ -221,11 +221,7 @@ This package contains the OpenLDAP client libraries.
cp %{SOURCE5} . cp %{SOURCE5} .
%build %build
# %{?suse_update_config:%{suse_update_config -f build}} export CFLAGS="%{optflags} -Wno-format-extra-args -fno-strict-aliasing -DNDEBUG -DSLAP_CONFIG_DELETE -DSLAP_SCHEMA_EXPOSE -DLDAP_COLLECTIVE_ATTRIBUTES"
#libtoolize --force
#autoreconf
# export CFLAGS="${RPM_OPT_FLAGS} -Wno-format-extra-args -fno-strict-aliasing -DNDEBUG -DSLAP_CONFIG_DELETE -DSLAP_SCHEMA_EXPOSE -DLDAP_COLLECTIVE_ATTRIBUTES"
export CFLAGS="-Wno-format-extra-args -fno-strict-aliasing -DNDEBUG -DSLAP_CONFIG_DELETE -DSLAP_SCHEMA_EXPOSE -DLDAP_COLLECTIVE_ATTRIBUTES"
export STRIP="" export STRIP=""
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 8 13:24:49 UTC 2016 - mpluskal@suse.com
- Use optflags when building
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 6 12:10:53 UTC 2016 - michael@stroeder.com Sat Feb 6 12:10:53 UTC 2016 - michael@stroeder.com

View File

@ -221,11 +221,7 @@ This package contains the OpenLDAP client libraries.
cp %{SOURCE5} . cp %{SOURCE5} .
%build %build
# %{?suse_update_config:%{suse_update_config -f build}} export CFLAGS="%{optflags} -Wno-format-extra-args -fno-strict-aliasing -DNDEBUG -DSLAP_CONFIG_DELETE -DSLAP_SCHEMA_EXPOSE -DLDAP_COLLECTIVE_ATTRIBUTES"
#libtoolize --force
#autoreconf
# export CFLAGS="${RPM_OPT_FLAGS} -Wno-format-extra-args -fno-strict-aliasing -DNDEBUG -DSLAP_CONFIG_DELETE -DSLAP_SCHEMA_EXPOSE -DLDAP_COLLECTIVE_ATTRIBUTES"
export CFLAGS="-Wno-format-extra-args -fno-strict-aliasing -DNDEBUG -DSLAP_CONFIG_DELETE -DSLAP_SCHEMA_EXPOSE -DLDAP_COLLECTIVE_ATTRIBUTES"
export STRIP="" export STRIP=""
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \