diff options
author | Allan McRae <allan@archlinux.org> | 2009-01-02 03:32:05 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-01-03 00:17:15 -0600 |
commit | 1cc8ad6112ed07a71f356a6bb0f06f117b36b3b2 (patch) | |
tree | 8d20f9f4c643fc35f3a2b16b7f5bfb994d854d8e /scripts/makepkg.sh.in | |
parent | 8f26bb9052fe1bb131d2062da4fcd917fc9ad4da (diff) | |
download | 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/makepkg.sh.in')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
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) |