patch-configure 796 B

12345678910111213141516171819202122232425262728293031
  1. --- libgpg-error-1.9.orig/configure 2010-07-21 10:00:02.000000000 +0200
  2. +++ libgpg-error-1.9/configure 2011-02-05 15:47:20.000000000 +0100
  3. @@ -769,6 +769,7 @@ GMSGFMT
  4. MSGFMT
  5. USE_NLS
  6. CC_FOR_BUILD
  7. +CFLAGS_FOR_BUILD
  8. RC
  9. OTOOL64
  10. OTOOL
  11. @@ -909,7 +910,8 @@ LDFLAGS
  12. LIBS
  13. CPPFLAGS
  14. CPP
  15. -CC_FOR_BUILD'
  16. +CC_FOR_BUILD
  17. +CFLAGS_FOR_BUILD'
  18. # Initialize some variables set by options.
  19. @@ -11290,8 +11292,10 @@ CC="$lt_save_CC"
  20. $as_echo_n "checking for cc for build... " >&6; }
  21. if test "$cross_compiling" = "yes"; then
  22. CC_FOR_BUILD="${CC_FOR_BUILD-cc}"
  23. + CFLAGS_FOR_BUILD="${CFLAGS_FOR_BUILD}"
  24. else
  25. CC_FOR_BUILD="${CC_FOR_BUILD-$CC}"
  26. + CFLAGS_FOR_BUILD="${CFLAGS_FOR_BUILD-$CFLAGS}"
  27. fi
  28. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
  29. $as_echo "$CC_FOR_BUILD" >&6; }