From 1cc8ad6112ed07a71f356a6bb0f06f117b36b3b2 Mon Sep 17 00:00:00 2001 From: Allan McRae 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 Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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) -- cgit v1.2.3-70-g09d2