summaryrefslogtreecommitdiff
path: root/MCONFIG.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2005-11-09 18:37:07 -0400
committerTheodore Ts'o <tytso@mit.edu>2005-11-09 18:37:07 -0400
commitdd947da232d2442f86c2f4d595cf7d3b76604e49 (patch)
treef19e5e1651356dfc257a1aa4ba08ac748d996361 /MCONFIG.in
parent8dceb92407f751d1a8aecd4bfb36d1fe2dc3cf9a (diff)
downloade2fsprogs-dd947da232d2442f86c2f4d595cf7d3b76604e49.tar.gz
Fix cross-compilation problems when CFLAGS contain target-specific options
Use BUILD_CCFLAGS and BUILD_LDFLAGS instead of CCFLAGS and LDFLAGS in the build system when building files in the util directory which are needed during the build process. This avoids potential problems when cross-compiling some of the options are not recognized as valid by the host compiler. (Addresses Sourceforge Bug #1261547) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'MCONFIG.in')
-rw-r--r--MCONFIG.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/MCONFIG.in b/MCONFIG.in
index ce6329f7..991aaa0d 100644
--- a/MCONFIG.in
+++ b/MCONFIG.in
@@ -40,6 +40,8 @@ ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(USE_WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
$(INTL_FLAGS) $(LINUX_INCLUDE)
LDFLAGS = @LDFLAGS@
ALL_LDFLAGS = $(LDFLAGS)
+BUILD_CFLAGS = @BUILD_CFLAGS@
+BUILD_LDFLAGS = @BUILD_LDFLAGS@
RM = @RM@
LN = @LN@
LN_S = @LN_S@