Advertisement
Guest User

libxbee3_no_dbg.patch

a guest
Nov 20th, 2013
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. diff --git a/make/build.unix.mk b/make/build.unix.mk
  2. index 4426940..75803c5 100644
  3. --- a/make/build.unix.mk
  4. +++ b/make/build.unix.mk
  5. @@ -4,13 +4,6 @@
  6. $(addprefix $(DESTDIR)/$(LIBNAME),.a .so p.a p.so): $(DESTDIR)/$(LIBNAME)%: $(DESTDIR)/$(LIBNAME)%.$(LIBFULLREV)
  7. $(SYMLINK) -fs `basename $^` $@
  8.  
  9. -# generate the shared object & debug file
  10. -$(addsuffix .$(LIBFULLREV).dbg, $(addprefix $(DESTDIR)/$(LIBNAME),.so p.so)): $(DESTDIR)/$(LIBNAME)%.so.$(LIBFULLREV).dbg: $(DESTDIR)/$(LIBNAME)%.so.$(LIBFULLREV)
  11. - $(OBJCOPY) --only-keep-debug $^ $@
  12. - $(OBJCOPY) --add-gnu-debuglink=$@ $^
  13. - $(OBJCOPY) --strip-debug $^
  14. - touch $@
  15. -
  16. $(addsuffix .$(LIBFULLREV), $(addprefix $(DESTDIR)/$(LIBNAME),.so p.so)): $(DESTDIR)/$(LIBNAME)%.so.$(LIBFULLREV): .$(DESTDIR).dir $(DESTDIR)/$(LIBNAME)%.o
  17. $(addsuffix .so.$(LIBFULLREV), $(DESTDIR)/$(LIBNAME)):
  18. $(GCC) -shared -Wl,--no-undefined -Wl,-soname,$(LIBNAME)$*.so.$(LIBFULLREV) $(filter %.o,$^) $(CLINKS) -o $@
  19. diff --git a/make/os.linux.mk b/make/os.linux.mk
  20. index aa2762d..e29096c 100644
  21. --- a/make/os.linux.mk
  22. +++ b/make/os.linux.mk
  23. @@ -28,20 +28,16 @@ CLINKS+= -fPIC $(addprefix -l,$(LIBS)) $(DEBUG)
  24. CXXLINKS+= $(CLINKS) -Llib -lxbee
  25.  
  26. LIB_OUT= $(DESTDIR)/$(LIBNAME).so \
  27. - $(DESTDIR)/$(LIBNAME).so.$(LIBFULLREV).dbg \
  28. $(DESTDIR)/$(LIBNAME).a \
  29. $(DESTDIR)/$(LIBNAME)p.so \
  30. - $(DESTDIR)/$(LIBNAME)p.so.$(LIBFULLREV).dbg \
  31. $(DESTDIR)/$(LIBNAME)p.a \
  32. $(addprefix $(HTMLDIR)/,$(SYS_HTMLPAGES))
  33.  
  34. INSTALL_FILES= $(SYS_LIBDIR)/$(LIBNAME).so.$(LIBFULLREV) \
  35. - $(SYS_LIBDIR)/$(LIBNAME).so.$(LIBFULLREV).dbg \
  36. $(SYS_LIBDIR)/$(LIBNAME).so \
  37. $(SYS_LIBDIR)/$(LIBNAME).a.$(LIBFULLREV) \
  38. $(SYS_LIBDIR)/$(LIBNAME).a \
  39. $(SYS_LIBDIR)/$(LIBNAME)p.so.$(LIBFULLREV) \
  40. - $(SYS_LIBDIR)/$(LIBNAME)p.so.$(LIBFULLREV).dbg \
  41. $(SYS_LIBDIR)/$(LIBNAME)p.so \
  42. $(SYS_LIBDIR)/$(LIBNAME)p.a.$(LIBFULLREV) \
  43. $(SYS_LIBDIR)/$(LIBNAME)p.a \
  44. @@ -50,12 +46,10 @@ INSTALL_FILES= $(SYS_LIBDIR)/$(LIBNAME).so.$(LIBFULLREV)
  45. $(SYS_INCDIR)/xbeep.h
  46.  
  47. RELEASE_FILES= $(DESTDIR)/$(LIBNAME).so.$(LIBFULLREV) \
  48. - $(DESTDIR)/$(LIBNAME).so.$(LIBFULLREV).dbg \
  49. $(DESTDIR)/$(LIBNAME).so \
  50. $(DESTDIR)/$(LIBNAME).a.$(LIBFULLREV) \
  51. $(DESTDIR)/$(LIBNAME).a \
  52. $(DESTDIR)/$(LIBNAME)p.so.$(LIBFULLREV) \
  53. - $(DESTDIR)/$(LIBNAME)p.so.$(LIBFULLREV).dbg \
  54. $(DESTDIR)/$(LIBNAME)p.so \
  55. $(DESTDIR)/$(LIBNAME)p.a.$(LIBFULLREV) \
  56. $(DESTDIR)/$(LIBNAME)p.a \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement