Don't strip binaries on install so we can get a non-empty debuginfo file

epel9
Rich Mattes 12 years ago
parent cb635f202d
commit fb72ace21a

@ -47,10 +47,12 @@ Python bindings for %{name}
rm -r src/uthash.h
# Set the install prefix to /usr
sed -i "s|prefix=/usr/local|prefix=/usr|" config.mk
# Don't strip binaries on install: rpmbuild will take care of it
sed -i "s|(INSTALL) -s|(INSTALL)|g" lib/Makefile src/Makefile client/Makefile
%build
export CFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags} -Wl,--as-needed"
export LDFLAGS="%{optflags} %{__global_ldflags} -Wl,--as-needed"
make all %{?_smp_mflags}
pushd lib/python

Loading…
Cancel
Save