1
0

patch-configure 818 B

12345678910111213141516171819202122232425262728293031
  1. --- libgpg-error-1.12.orig/configure 2013-06-24 06:42:28.000000000 +0200
  2. +++ libgpg-error-1.12/configure 2015-11-08 11:40:16.360212436 +0100
  3. @@ -670,6 +670,7 @@ MSGFMT
  4. GETTEXT_MACRO_VERSION
  5. USE_NLS
  6. CC_FOR_BUILD
  7. +CFLAGS_FOR_BUILD
  8. RC
  9. OTOOL64
  10. OTOOL
  11. @@ -814,7 +815,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. @@ -12259,8 +12261,10 @@ CFLAGS=$lt_save_CFLAGS
  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; }