fixing other builds

OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=43
This commit is contained in:
Michal Hrusecky (old before rename to _miska_) 2011-05-16 18:34:57 +00:00 committed by Git OBS Bridge
parent 38fbd7845b
commit a5af79eb31
2 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,11 @@
%define socketpath /var/run/mysql
%endif
autoreconf -f -i
export CFLAGS="$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -DFORCE_INIT_OF_VARS -fno-strict-aliasing -Wno-unused-parameter -Wno-unused-but-set-variable"
export WARN_DIS=" -Wno-unused-parameter "
%if 0%{?suse_version} > 1140
export WARN_DIS="$WARN_DIS -Wno-unused-but-set-variable "
%endif
export CFLAGS="$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -DFORCE_INIT_OF_VARS -fno-strict-aliasing $WARN_DIS"
export CXXFLAGS="$CFLAGS -fno-exceptions -fno-rtti"
# Make the compile a function, since we do multiple builds
BuildMySQL() {

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4808970e068072814ba4cd122ba53a04137c495106bf71ad7a97a2c3243d198
size 15827
oid sha256:eea182884f15b81e7f627fff32fcca5bbec3388ae69cb9e2579ec219e3b65c4c
size 16741