Merge pull request #30439 from johang:fix-make-linux-cross-compile
PiperOrigin-RevId: 261128717
This commit is contained in:
commit
ba775ddd39
@ -59,7 +59,6 @@ CXXFLAGS := -O3 -DNDEBUG -fPIC
|
||||
CXXFLAGS += $(EXTRA_CXXFLAGS)
|
||||
CFLAGS := ${CXXFLAGS}
|
||||
CXXFLAGS += --std=c++11
|
||||
CFLAGS :=
|
||||
LDOPTS := -L/usr/local/lib
|
||||
ARFLAGS := -r
|
||||
TARGET_TOOLCHAIN_PREFIX :=
|
||||
@ -166,6 +165,7 @@ ifeq ($(BUILD_WITH_NNAPI),true)
|
||||
CORE_CC_ALL_SRCS += tensorflow/lite/delegates/nnapi/nnapi_delegate.cc
|
||||
CORE_CC_ALL_SRCS += tensorflow/lite/nnapi/nnapi_implementation.cc
|
||||
CORE_CC_ALL_SRCS += tensorflow/lite/nnapi/quant_lstm_sup.cc
|
||||
LIBS += -lrt
|
||||
else
|
||||
CORE_CC_ALL_SRCS += tensorflow/lite/delegates/nnapi/nnapi_delegate_disabled.cc
|
||||
CORE_CC_ALL_SRCS += tensorflow/lite/nnapi/nnapi_implementation_disabled.cc
|
||||
|
Loading…
Reference in New Issue
Block a user