[resiprocate] Add definitions for stdint to CXXFLAGS

Daniel Pocock pocock at fedoraproject.org
Fri Feb 27 10:59:50 UTC 2015


commit b6e43a89d32226d4dcb4f0b3d3fe5ac788812449
Author: Daniel Pocock <daniel at pocock.pro>
Date:   Thu Feb 26 22:47:04 2015 +0100

    Add definitions for stdint to CXXFLAGS

 resiprocate.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/resiprocate.spec b/resiprocate.spec
index 711dfc2..ed73787 100644
--- a/resiprocate.spec
+++ b/resiprocate.spec
@@ -132,7 +132,7 @@ PYVERSION=2.7
 %endif
 PYCONFIG=/usr/bin/python${PYVERSION}-config
 export LDFLAGS="${LDFLAGS} -L%{_libdir}/mysql -L%{_libdir}/libdb4"
-CXXFLAGS="%{optflags} -I%{_includedir}/libdb4" %configure --with-c-ares --with-ssl --with-mysql --with-radius --with-repro --enable-repro-plugins --with-apps --enable-ipv6 --enable-dtls --with-python DEPS_PYTHON_CFLAGS="`${PYCONFIG} --cflags`" DEPS_PYTHON_LIBS="`${PYCONFIG} --ldflags`" PYCXX_SRCDIR=/usr/src/CXX/Python2
+CXXFLAGS="%{optflags} -I%{_includedir}/libdb4 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS" %configure --with-c-ares --with-ssl --with-mysql --with-radius --with-repro --enable-repro-plugins --with-apps --enable-ipv6 --enable-dtls --with-python DEPS_PYTHON_CFLAGS="`${PYCONFIG} --cflags`" DEPS_PYTHON_LIBS="`${PYCONFIG} --ldflags`" PYCXX_SRCDIR=/usr/src/CXX/Python2
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}


More information about the scm-commits mailing list