parfait.patch revision 2893
2893N/APatch origin: in-house
2893N/APatch status: Solaris-specific; not suitable for upstream
2893N/A
2893N/AZLIB renames *.o file into *.lo before it links them info shared
2893N/Alibrary. We need to do same to *.o.bc files so they are recognized by
2893N/AParfait during linking.
2893N/A
2893N/ADownside of it is that Parfait will analyze also these separate object
2893N/Afiles.
2893N/A
2893N/A--- zlib-1.2.8/Makefile.in 2013-04-28 15:57:11.000000000 -0700
2893N/A+++ zlib-1.2.8/Makefile.in 2014-05-07 07:30:58.047571894 -0700
2893N/A@@ -158,6 +158,7 @@
2893N/A -@mkdir objs 2>/dev/null || test -d objs
2893N/A $(CC) $(SFLAGS) -DPIC -c -o objs/$*.o $<
2893N/A -@mv objs/$*.o $@
2893N/A+ -@if [ -f objs/$*.o.bc ]; then mv objs/$*.o.bc $@.bc; fi
2893N/A
2893N/A placebo $(SHAREDLIBV): $(PIC_OBJS) libz.a
2893N/A $(LDSHARED) $(SFLAGS) -o $@ $(PIC_OBJS) $(LDSHAREDLIBC) $(LDFLAGS)