Add support for setting custom LDFLAGS

This commit is contained in:
Travis Cross 2014-02-09 22:56:36 +00:00
parent 4106471020
commit 0c41db9fb1
1 changed files with 3 additions and 0 deletions

3
debian/rules vendored
View File

@ -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;