%debugcflags -O0 -g -Wall
%rpmcflags %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
%rpmcxxflags %{rpmcflags} -fvisibility-inlines-hidden
-%rpmldflags -Wl,--as-needed
+%rpmldflags %{nil}
+# %rpmldflags -Wl,--as-needed
# kernel compiler
%kgcc gcc
%{nil}
%ldconfig_postun() \
-if [ $1 = 0 ]; then \
/sbin/ldconfig; \
-fi \
-%{nil}
+ %{nil}
#-----------------------------------------------------------------
# post %install sequence: