From 0c41db9fb13c5eb38112e5bd04bc90e24668da0d Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sun, 9 Feb 2014 22:56:36 +0000 Subject: [PATCH] Add support for setting custom LDFLAGS --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 356948e796..f0b1b9b585 100755 --- a/debian/rules +++ b/debian/rules @@ -10,12 +10,14 @@ FS_CXX?=g++ FS_CPPFLAGS?= FS_CFLAGS?=-g3 -O2 -fPIC FS_CXXFLAGS?=$(FS_CFLAGS) +FS_LDFLAGS?= export PATH?=/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin export CC:=$(FS_CC) export CXX:=$(FS_CXX) export CPPFLAGS:=$(FS_CPPFLAGS) export CFLAGS:=$(FS_CFLAGS) export CXXFLAGS:=$(FS_CXXFLAGS) +export LDFLAGS:=$(FS_LDFLAGS) show_vars= \ echo; \ @@ -26,6 +28,7 @@ show_vars= \ echo "CPPFLAGS='$(CPPFLAGS)'"; \ echo "CFLAGS='$(CFLAGS)'"; \ echo "CXXFLAGS='$(CXXFLAGS)'"; \ + echo "LDFLAGS='$(LDFLAGS)'"; \ echo "CCACHE_DIR='$(CCACHE_DIR)'"; \ echo;