summaryrefslogtreecommitdiff
path: root/package/libgpg-error/patches/patch-configure
blob: ef502798443d77aab98a61c42ed345adc7e7376b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- libgpg-error-1.12.orig/configure	2013-06-24 06:42:28.000000000 +0200
+++ libgpg-error-1.12/configure	2015-11-08 11:40:16.360212436 +0100
@@ -670,6 +670,7 @@ MSGFMT
 GETTEXT_MACRO_VERSION
 USE_NLS
 CC_FOR_BUILD
+CFLAGS_FOR_BUILD
 RC
 OTOOL64
 OTOOL
@@ -814,7 +815,8 @@ LDFLAGS
 LIBS
 CPPFLAGS
 CPP
-CC_FOR_BUILD'
+CC_FOR_BUILD
+CFLAGS_FOR_BUILD'
 
 
 # Initialize some variables set by options.
@@ -12259,8 +12261,10 @@ CFLAGS=$lt_save_CFLAGS
 $as_echo_n "checking for cc for build... " >&6; }
 if test "$cross_compiling" = "yes"; then
   CC_FOR_BUILD="${CC_FOR_BUILD-cc}"
+  CFLAGS_FOR_BUILD="${CFLAGS_FOR_BUILD}"
 else
   CC_FOR_BUILD="${CC_FOR_BUILD-$CC}"
+  CFLAGS_FOR_BUILD="${CFLAGS_FOR_BUILD-$CFLAGS}"
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
 $as_echo "$CC_FOR_BUILD" >&6; }