Fix the debug build
This commit is contained in:
parent
b2aac8038d
commit
0f4ddc6269
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: mariadb-connector-c
|
Name: mariadb-connector-c
|
||||||
Version: 3.1.2
|
Version: 3.1.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?with_debug:.debug}%{?dist}
|
||||||
Summary: The MariaDB Native Client library (C driver)
|
Summary: The MariaDB Native Client library (C driver)
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Source: https://downloads.mariadb.org/interstitial/connector-c-%{version}/mariadb-connector-c-%{version}-src.tar.gz
|
Source: https://downloads.mariadb.org/interstitial/connector-c-%{version}/mariadb-connector-c-%{version}-src.tar.gz
|
||||||
@ -68,6 +68,9 @@ rm -r win zlib win-iconv examples
|
|||||||
CXXFLAGS="$CFLAGS"
|
CXXFLAGS="$CFLAGS"
|
||||||
export CFLAGS CXXFLAGS
|
export CFLAGS CXXFLAGS
|
||||||
|
|
||||||
|
# Needed for debug build ( https://jira.mariadb.org/browse/CONC-426 ), usefull for normal build
|
||||||
|
export LDFLAGS="$LDFLAGS -fPIC"
|
||||||
|
|
||||||
# https://jira.mariadb.org/browse/MDEV-13836:
|
# https://jira.mariadb.org/browse/MDEV-13836:
|
||||||
# The server has (used to have for ages) some magic around the port number.
|
# The server has (used to have for ages) some magic around the port number.
|
||||||
# If it's 0, the default port value will use getservbyname("mysql", "tcp"), that is, whatever is written in /etc/services.
|
# If it's 0, the default port value will use getservbyname("mysql", "tcp"), that is, whatever is written in /etc/services.
|
||||||
@ -186,9 +189,6 @@ popd
|
|||||||
# https://jira.mariadb.org/browse/CONC-410
|
# https://jira.mariadb.org/browse/CONC-410
|
||||||
# DESCRIPTION: Fix pkgconfig file - overlinking issues
|
# DESCRIPTION: Fix pkgconfig file - overlinking issues
|
||||||
# IN_PROGRESS: PR submitted, problem consulted & explained, waiting on upstream response
|
# IN_PROGRESS: PR submitted, problem consulted & explained, waiting on upstream response
|
||||||
# https://jira.mariadb.org/browse/CONC-426
|
|
||||||
# DESCRIPTION: Debug build issues
|
|
||||||
# NEW: reported to upstream
|
|
||||||
|
|
||||||
# Coverity Scan results from 3.0.10 release:
|
# Coverity Scan results from 3.0.10 release:
|
||||||
# https://jira.mariadb.org/browse/CONC-234
|
# https://jira.mariadb.org/browse/CONC-234
|
||||||
|
Loading…
Reference in New Issue
Block a user