grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] reintroduce BUILD_LDFLAGS for the cross-compile case


From: Andrey Borzenkov
Subject: [PATCH] reintroduce BUILD_LDFLAGS for the cross-compile case
Date: Sun, 12 Jan 2014 16:11:21 +0400

This allows providing separate LDFLAGS for build and host environment, which
are not necessary the same for cross-compile case. In particular, it allows
building host programs statically to not depend on presence of libraries at
run-time (e.g. MinGW environment on Windows) while continue to use default
build time dynamic linking.

Also fix obsolete comments in confgure.ac - we do use different environment
for build and host now.

In principle, it would be enough to just reset LDFLAGS before
performing build time tests, but I think this functionality is useful
by itself (e.g. to be able to link with libraries in non-standard
location). And patch itself it trivial enough.

Attached because git won't send mail with so long lines.

Attachment: build_ldflags.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]