diff options
author | Theodore Ts'o <tytso@mit.edu> | 2005-11-09 18:37:07 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2005-11-09 18:37:07 -0400 |
commit | dd947da232d2442f86c2f4d595cf7d3b76604e49 (patch) | |
tree | f19e5e1651356dfc257a1aa4ba08ac748d996361 /MCONFIG.in | |
parent | 8dceb92407f751d1a8aecd4bfb36d1fe2dc3cf9a (diff) | |
download | e2fsprogs-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.in | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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@ |