diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index fc604f8..839cef0 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -47,16 +47,16 @@ Authors: %build export CFLAGS="%{optflags} -fPIC -DPIC" export CXXFLAGS="%{optflags} -fPIC -DPIC" -#CFLAGS="$RPM_OPT_FLAGS -fPIC" -#CPPFLAGS="$RPM_OPT_FLAGS -fPIC" +CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" +CXXFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" ./configure --prefix=%_prefix \ --libdir=%_libdir \ --sysconfdir=%_sysconfdir\ --mandir=%_mandir \ --infodir=%_infodir \ --localstatedir=%_localstatedir \ + --disable-cplusplus \ --enable-libxml2-backend -# --disable-cplusplus \ # --disable-libwww-client \ # --disable-cgi-server # --disable-abyss-server \