summaryrefslogtreecommitdiff
path: root/test/erl
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2010-08-30 22:05:04 +0000
committerDavid Reiss <dreiss@apache.org>2010-08-30 22:05:04 +0000
commitbf2b97871b30ce7648ec0faf2467217662db0fac (patch)
treebd8d6af2a0e56c2e33fec47092d12a582a1a8e45 /test/erl
parentfb2c1ae5949bd31d079c8617f64c107611184a90 (diff)
downloadthrift-bf2b97871b30ce7648ec0faf2467217662db0fac.tar.gz
erlang: Allow custom erlc flags for the test suite
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990960 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/erl')
-rw-r--r--test/erl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/erl/Makefile b/test/erl/Makefile
index 212603722..3fc8fe527 100644
--- a/test/erl/Makefile
+++ b/test/erl/Makefile
@@ -55,11 +55,11 @@ ${GENDIR}/: ${RPCFILE}
${GEN_TARGETDIR}/: ${GENDIR}/
rm -rf ${GEN_TARGETDIR}
mkdir -p ${GEN_TARGETDIR}
- erlc ${INCLUDEFLAGS} -o ${GEN_TARGETDIR} ${GEN_SRCDIR}/*.erl
+ erlc ${ERLC_FLAGS} ${INCLUDEFLAGS} -o ${GEN_TARGETDIR} ${GEN_SRCDIR}/*.erl
$(TARGETS): ${TARGETDIR}/%.beam: ${SRCDIR}/%.erl ${GEN_INCLUDEDIR}/ ${HEADERS}
mkdir -p ${TARGETDIR}
- erlc ${INCLUDEFLAGS} -o ${TARGETDIR} $<
+ erlc ${ERLC_FLAGS} ${INCLUDEFLAGS} -o ${TARGETDIR} $<
clean:
rm -f ${TARGETDIR}/*.beam