summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2009-01-01 18:32:05 +0100
committerDan McGee <dan@archlinux.org>2009-01-03 07:17:15 +0100
commit1cc8ad6112ed07a71f356a6bb0f06f117b36b3b2 (patch)
tree8d20f9f4c643fc35f3a2b16b7f5bfb994d854d8e /scripts
parent8f26bb9052fe1bb131d2062da4fcd917fc9ad4da (diff)
downloadpacman-1cc8ad6112ed07a71f356a6bb0f06f117b36b3b2.tar.gz
pacman-1cc8ad6112ed07a71f356a6bb0f06f117b36b3b2.tar.xz
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 14e18dc3..3e0781f5 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -674,7 +674,7 @@ run_build() {
cd "$srcdir"
# ensure all necessary build variables are exported
- export CFLAGS CXXFLAGS MAKEFLAGS CHOST
+ export CFLAGS CXXFLAGS MAKEFLAGS LDFLAGS CHOST
# save our shell options so build() can't override what we need
local shellopts=$(shopt -p)