From: Klaus Kaempf Date: Tue, 9 Sep 2008 19:28:34 +0000 (+0000) Subject: - rpmdb2solv changes: X-Git-Tag: BASE-SuSE-Code-12_1-Branch~527 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4068087b0629f4395662461d8381b1057cb1a8b4;p=platform%2Fupstream%2Flibsolv.git - rpmdb2solv changes: - fix bug when parsing multiple products - adapt to .prod file as of 9/9/08 7:20pm - 0.10.9 --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3609ff3..58979a3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -12,7 +12,7 @@ SET(libsatsolver_HEADERS repo.h repodata.h repo_solv.h repo_helix.h util.h strpool.h dirpool.h knownid.h) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") +SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -g" ) INSTALL(FILES ${libsatsolver_HEADERS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/satsolver") INSTALL(TARGETS satsolver LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE DESTINATION ${LIB_INSTALL_DIR}) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 7bd99a0..5421865 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -16,6 +16,8 @@ SET(rpmdb2solv_REPOS common_write.c ) +SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g" ) + ADD_EXECUTABLE( rpmdb2solv ${rpmdb2solv_REPOS} ) TARGET_LINK_LIBRARIES( rpmdb2solv satsolver ${RPMDB_LIBRARY} ${EXPAT_LIBRARY})