patch-src_Makefile_in 1.2 KB

12345678910111213141516171819202122232425
  1. --- libgpg-error-1.9.orig/src/Makefile.in 2010-07-21 10:00:00.000000000 +0200
  2. +++ libgpg-error-1.9/src/Makefile.in 2011-02-05 15:44:54.000000000 +0100
  3. @@ -149,6 +149,7 @@ BUILD_TIMESTAMP = @BUILD_TIMESTAMP@
  4. CC = @CC@
  5. CCDEPMODE = @CCDEPMODE@
  6. CC_FOR_BUILD = @CC_FOR_BUILD@
  7. +CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
  8. CFLAGS = @CFLAGS@
  9. CPP = @CPP@
  10. CPPFLAGS = @CPPFLAGS@
  11. @@ -868,12 +869,12 @@ gpg-error.def: Makefile gpg-error.def.in
  12. # It is correct to use $(CC_FOR_BUILD) here. We want to run the
  13. # program at build time.
  14. mkerrcodes: mkerrcodes.c mkerrcodes.h Makefile
  15. - $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c
  16. + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c
  17. # It is correct to use $(CC_FOR_BUILD) here. We want to run the
  18. # program at build time.
  19. @HAVE_W32CE_SYSTEM_TRUE@mkw32errmap: mkw32errmap.c mkw32errmap.tab.h Makefile
  20. -@HAVE_W32CE_SYSTEM_TRUE@ $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkw32errmap.c
  21. +@HAVE_W32CE_SYSTEM_TRUE@ $(CC_FOR_BUILD) $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkw32errmap.c
  22. code-from-errno.h: mkerrcodes Makefile
  23. ./mkerrcodes | $(AWK) -f $(srcdir)/mkerrcodes2.awk >$@