patch-tools_rpcgen_Makefile_in 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. --- nfs-utils-1.2.3.orig/tools/rpcgen/Makefile.in 2010-09-28 14:32:33.000000000 +0200
  2. +++ nfs-utils-1.2.3/tools/rpcgen/Makefile.in 2010-10-10 13:29:26.000000000 +0200
  3. @@ -72,21 +72,21 @@ am_rpcgen_OBJECTS = rpcgen-rpc_clntout.$
  4. rpcgen_OBJECTS = $(am_rpcgen_OBJECTS)
  5. rpcgen_LDADD = $(LDADD)
  6. rpcgen_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  7. - --mode=link $(CCLD) $(rpcgen_CFLAGS) $(CFLAGS) \
  8. - $(rpcgen_LDFLAGS) $(LDFLAGS) -o $@
  9. + --mode=link $(CCLD) $(rpcgen_CFLAGS) \
  10. + $(rpcgen_LDFLAGS) -o $@
  11. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/support/include
  12. depcomp = $(SHELL) $(top_srcdir)/depcomp
  13. am__depfiles_maybe = depfiles
  14. am__mv = mv -f
  15. -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  16. - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  17. +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  18. + $(AM_CFLAGS) $(HOSTCFLAGS)
  19. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  20. --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  21. - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  22. + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  23. CCLD = $(CC)
  24. LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  25. - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  26. - $(LDFLAGS) -o $@
  27. + --mode=link $(CCLD) $(AM_CFLAGS) $(HOSTCFLAGS) \
  28. + -o $@
  29. SOURCES = $(rpcgen_SOURCES)
  30. DIST_SOURCES = $(rpcgen_SOURCES)
  31. ETAGS = etags
  32. @@ -106,10 +106,10 @@ AWK = @AWK@
  33. CC = $(CC_FOR_BUILD)
  34. CCDEPMODE = @CCDEPMODE@
  35. CC_FOR_BUILD = @CC_FOR_BUILD@
  36. -CFLAGS = @CFLAGS@
  37. +CFLAGS =
  38. CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
  39. CPP = @CPP@
  40. -CPPFLAGS = @CPPFLAGS@
  41. +CPPFLAGS =
  42. CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
  43. CXX = @CXX@
  44. CXXCPP = @CXXCPP@
  45. @@ -142,10 +142,10 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_P
  46. K5VERS = @K5VERS@
  47. KRBCFLAGS = @KRBCFLAGS@
  48. KRBDIR = @KRBDIR@
  49. -KRBLDFLAGS = @KRBLDFLAGS@
  50. +KRBLDFLAGS =
  51. KRBLIBS = @KRBLIBS@
  52. LD = @LD@
  53. -LDFLAGS = @LDFLAGS@
  54. +LDFLAGS =
  55. LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
  56. LIBBLKID = @LIBBLKID@
  57. LIBBSD = @LIBBSD@
  58. @@ -308,7 +308,7 @@ clean-noinstPROGRAMS:
  59. rm -f $$list
  60. rpcgen$(EXEEXT): $(rpcgen_OBJECTS) $(rpcgen_DEPENDENCIES)
  61. @rm -f rpcgen$(EXEEXT)
  62. - $(rpcgen_LINK) $(rpcgen_OBJECTS) $(rpcgen_LDADD) $(LIBS)
  63. + $(rpcgen_LINK) $(rpcgen_OBJECTS) $(rpcgen_LDADD)
  64. mostlyclean-compile:
  65. -rm -f *.$(OBJEXT)