diff options
author | Genie Kim <daejins.kim@samsung.com> | 2013-05-09 23:17:13 +0900 |
---|---|---|
committer | Genie Kim <daejins.kim@samsung.com> | 2013-05-09 23:24:54 +0900 |
commit | c185ca2a93846452978cf9dd3ff2a35847b8b0d4 (patch) | |
tree | 62cb25de43a219332b5c5fffba8d23ab136674c7 /CMakeLists.txt | |
parent | 8ce8597f3f6a930c319cdbe81c670b24f53f581d (diff) | |
download | geocoder-tizen_2.1.tar.gz geocoder-tizen_2.1.tar.bz2 geocoder-tizen_2.1.zip |
sync PRIVATE and RSA for tizen2.1submit/tizen_2.2/20130714.143824submit/tizen_2.2/20130714.135117submit/tizen_2.1/20130514.0519282.2_releasetizen_2.1
Change-Id: I22dd75823fc979a2f807cb3b31c5ac2ec1c2645c
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index de90ae5..af76580 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ FOREACH(flag ${${fw_name}_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") ENDFOREACH(flag) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fvisibility=hidden -fPIC -Wall -Werror") SET(CMAKE_C_FLAGS_DEBUG "-O0 -g") IF("${ARCH}" STREQUAL "arm") @@ -26,6 +26,7 @@ IF("${ARCH}" STREQUAL "arm") ENDIF("${ARCH}" STREQUAL "arm") ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"") +ADD_DEFINITIONS("-DEXPORT_API=__attribute__((visibility(\"default\")))") ADD_DEFINITIONS("-DTIZEN_DEBUG") SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib") |