forked from pool/xmlrpc-c
This commit is contained in:
parent
807ed1508c
commit
150e8a8dce
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user