summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-05-02 03:50:41 +0000
committerNathan Scott <nathans@sgi.com>2006-05-02 03:50:41 +0000
commit393ec87430af4035f56f9ccf1157e1036f703578 (patch)
tree4440fc33a2cb19a29b99d18d7ec47a0ef65bd6d9 /include
parent6ee0a7a40124eed45b726ee9f04938cf29108fe0 (diff)
downloadacl-393ec87430af4035f56f9ccf1157e1036f703578.tar.gz
Allow LDFLAGS to come from build env, for the Gentoo fringe dwellers.
Merge of master-melb:xfs-cmds:25860a by kenmcd.
Diffstat (limited to 'include')
-rw-r--r--include/builddefs.in1
-rw-r--r--include/buildmacros2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/builddefs.in b/include/builddefs.in
index dae6828..65319c8 100644
--- a/include/builddefs.in
+++ b/include/builddefs.in
@@ -10,6 +10,7 @@ _BUILDDEFS_INCLUDED_ = 1
DEBUG = @debug_build@
OPTIMIZER = @opt_build@
MALLOCLIB = @malloc_lib@
+LOADERFLAGS = @LDFLAGS@
LIBACL = $(TOPDIR)/libacl/libacl.la
LIBATTR = @libattr@
diff --git a/include/buildmacros b/include/buildmacros
index 928f24f..0c81aaa 100644
--- a/include/buildmacros
+++ b/include/buildmacros
@@ -9,7 +9,7 @@ BUILDRULES = $(TOPDIR)/include/buildrules
# $(CXXFILES), or $(HFILES) and is used to construct the manifest list
# during the "dist" phase (packaging).
-LDFLAGS = $(LLDFLAGS)
+LDFLAGS += $(LOADERFLAGS) $(LLDFLAGS)
LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCLIB)
MAKEOPTS = --no-print-directory