forked from Mirrors/freeswitch
Add support for setting custom LDFLAGS
This commit is contained in:
parent
4106471020
commit
0c41db9fb1
|
@ -10,12 +10,14 @@ FS_CXX?=g++
|
||||||
FS_CPPFLAGS?=
|
FS_CPPFLAGS?=
|
||||||
FS_CFLAGS?=-g3 -O2 -fPIC
|
FS_CFLAGS?=-g3 -O2 -fPIC
|
||||||
FS_CXXFLAGS?=$(FS_CFLAGS)
|
FS_CXXFLAGS?=$(FS_CFLAGS)
|
||||||
|
FS_LDFLAGS?=
|
||||||
export PATH?=/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin
|
export PATH?=/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
export CC:=$(FS_CC)
|
export CC:=$(FS_CC)
|
||||||
export CXX:=$(FS_CXX)
|
export CXX:=$(FS_CXX)
|
||||||
export CPPFLAGS:=$(FS_CPPFLAGS)
|
export CPPFLAGS:=$(FS_CPPFLAGS)
|
||||||
export CFLAGS:=$(FS_CFLAGS)
|
export CFLAGS:=$(FS_CFLAGS)
|
||||||
export CXXFLAGS:=$(FS_CXXFLAGS)
|
export CXXFLAGS:=$(FS_CXXFLAGS)
|
||||||
|
export LDFLAGS:=$(FS_LDFLAGS)
|
||||||
|
|
||||||
show_vars= \
|
show_vars= \
|
||||||
echo; \
|
echo; \
|
||||||
|
@ -26,6 +28,7 @@ show_vars= \
|
||||||
echo "CPPFLAGS='$(CPPFLAGS)'"; \
|
echo "CPPFLAGS='$(CPPFLAGS)'"; \
|
||||||
echo "CFLAGS='$(CFLAGS)'"; \
|
echo "CFLAGS='$(CFLAGS)'"; \
|
||||||
echo "CXXFLAGS='$(CXXFLAGS)'"; \
|
echo "CXXFLAGS='$(CXXFLAGS)'"; \
|
||||||
|
echo "LDFLAGS='$(LDFLAGS)'"; \
|
||||||
echo "CCACHE_DIR='$(CCACHE_DIR)'"; \
|
echo "CCACHE_DIR='$(CCACHE_DIR)'"; \
|
||||||
echo;
|
echo;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue