From 150e8a8dce2e109a0d529bba61160d58eee908aa0c40baf281fdf0883699f68b Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 12 Jun 2007 12:41:59 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/xmlrpc-c?expand=0&rev=36 --- xmlrpc-c.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index 261760f..e50dda2 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -45,19 +45,22 @@ Authors: %setup -q %build -CFLAGS="$RPM_OPT_FLAGS -fPIC" -CPPFLAGS="$RPM_OPT_FLAGS -fPIC" +y +export CFLAGS="%{optflags} -fPIC -DPIC" +export CXXFLAGS="%{optflags} -fPIC -DPIC" +#CFLAGS="$RPM_OPT_FLAGS -fPIC" +#CPPFLAGS="$RPM_OPT_FLAGS -fPIC" ./configure --prefix=%_prefix \ --libdir=%_libdir \ --sysconfdir=%_sysconfdir\ --mandir=%_mandir \ --infodir=%_infodir \ --localstatedir=%_localstatedir \ - --disable-cplusplus \ - --disable-libwww-client \ - --disable-cgi-server - --disable-abyss-server \ --enable-libxml2-backend +# --disable-cplusplus \ +# --disable-libwww-client \ +# --disable-cgi-server +# --disable-abyss-server \ %install make install DESTDIR=$RPM_BUILD_ROOT