Pass CFLAGS to facebook-clang-plugins build command

Reviewed By: jvillard

Differential Revision: D3353307

fbshipit-source-id: fd1ec29
master
Andrzej Kotulski 9 years ago committed by Facebook Github Bot 6
parent f89e66dc60
commit f6cfee0f32

@ -57,7 +57,7 @@ clang_plugin: clang_setup
ifeq (@IS_RELEASE_TREE@,no)
$(MAKE) -C $(FCP_DIR)/libtooling all \
CC=@CC@ CXX=@CXX@ \
CXX="@CXX@" CXXFLAGS="@CXXFLAGS@" \
CFLAGS="@CFLAGS@" CXXFLAGS="@CXXFLAGS@" \
CPP="@CPP@" LDFLAGS="@LDFLAGS@" LIBS="@LIBS@" \
LOCAL_CLANG=@CLANG_PREFIX@/bin/clang \
CLANG_PREFIX=@CLANG_PREFIX@ \
@ -65,7 +65,7 @@ ifeq (@IS_RELEASE_TREE@,no)
$(MAKE) -C $(FCP_DIR)/clang-ocaml all \
build/clang_ast_proj.ml build/clang_ast_proj.mli \
CC=@CC@ CXX=@CXX@ \
CXX="@CXX@" CXXFLAGS="@CXXFLAGS@" \
CFLAGS="@CFLAGS@" CXXFLAGS="@CXXFLAGS@" \
CPP="@CPP@" LDFLAGS="@LDFLAGS@" LIBS="@LIBS@" \
LOCAL_CLANG=@CLANG_PREFIX@/bin/clang \
CLANG_PREFIX=@CLANG_PREFIX@ \

Loading…
Cancel
Save