From 1cc8ad6112ed07a71f356a6bb0f06f117b36b3b2 Mon Sep 17 00:00:00 2001
From: Allan McRae <allan@archlinux.org>
Date: Fri, 2 Jan 2009 03:32:05 +1000
Subject: makepkg: Add support for specifying LDFLAGS

Provide support for specifying LDFLAGS within makepkg.conf but leaves
this undefined by default. Fixes FS#12542.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
---
 doc/makepkg.conf.5.txt | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'doc')

diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt
index 8b3665b0..044c69ea 100644
--- a/doc/makepkg.conf.5.txt
+++ b/doc/makepkg.conf.5.txt
@@ -61,6 +61,11 @@ Options
 **CXXFLAGS=**"cxxflags"::
 	Flags used for the C++ compiler; see CFLAGS for more info.
 
+**LDFLAGS=**"ldflags"::
+	Flags used for the linker. Several options may be specified with common
+	usage resembling ``-Wl,--hash-style=gnu``. Read ld(1) for more details on
+	available linker flags.
+
 **MAKEFLAGS=**"makeflags"::
 	This is often used to set the number of jobs used, for example, `-j2`.
 	Other flags that make accepts can also be passed.
-- 
cgit v1.2.3-70-g09d2