diff options
author | yinzhongyi <yinzhongyi@huawei.com> | 2018-07-12 11:01:04 +0800 |
---|---|---|
committer | yinzhongyi <yinzhongyi@huawei.com> | 2018-07-13 09:54:35 +0800 |
commit | 216bbeeed66739cee4d0f9c38ce9e800205ed7bf (patch) | |
tree | bfde2328ad37f327f4a25b46600559cc723c51c3 | |
parent | 6407560ec2d98a52b05b46513995483947110866 (diff) |
Fix rpm build error after clean junk file
Change-Id: I3141da4625d499a4a850e05306d0e518fc8b7e07
Signed-off-by: yinzhongyi <yinzhongyi@huawei.com>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rwxr-xr-x | scripts/build.sh | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c71a794..a3c2a83 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,7 +139,7 @@ ExternalProject_Add( GLOG SOURCE_DIR ${GLOG_SRC} BUILD_IN_SOURCE 1 - CONFIGURE_COMMAND autoreconf COMMAND sh configure CFLAGS=-fPIC CXXFLAGS=-fPIC + CONFIGURE_COMMAND autoreconf -ivf COMMAND sh configure CFLAGS=-fPIC CXXFLAGS=-fPIC BUILD_COMMAND COMMAND make -j 8 INSTALL_COMMAND cp -f ${GLOG_SRC}/.libs/libglog.a ${LIB_PATH_STATIC}/ ) diff --git a/scripts/build.sh b/scripts/build.sh index 926f3b0..6ba9fb7 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -120,7 +120,6 @@ fi #===========build DMM================= echo "DMM build started....." -cd $DMM_DIR/thirdparty/glog/glog-0.3.4/ && autoreconf -ivf cd $BUILD_DIR rm -rf * cmake .. |