Change-Id: Ib4c43059489e2e3e216459ac4abe81d96c0253c1
%{?_cmake_lib_suffix64} \\\
%endif \
%{?_cmake_skip_rpath} \\\
- -DBUILD_SHARED_LIBS:BOOL=ON \\\
- -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake
-
+ -DBUILD_SHARED_LIBS:BOOL=ON
+
+# tmp remove toolchain
+# \\\
+# -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake
+
def __create_install( self ,file_d):
code=self.__spec_parser.get_install_section()
code=code.replace("\n","\n ")
+ code=code.replace("\n EOF","\nEOF")
file_d.write( "do_install() {\n" )
file_d.write( " echo export RPM_BUILD_ROOT=${D}\n" )
file_d.write( " %s\n" % code )