projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66b6fde
)
suppress -rdynamic when linking ubus
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Feb 2011 17:54:27 +0000
(18:54 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Feb 2011 17:54:27 +0000
(18:54 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index b791c7ca1a8335377c9d88004f9d49a8f97c3e8c..2bf3853eaf4b45b1cf11ad3ef87f231effe48cc0 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-3,6
+3,8
@@
cmake_minimum_required(VERSION 2.8)
PROJECT(ubus C)
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3)
+SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
+
IF(APPLE)
INCLUDE_DIRECTORIES(/opt/local/include)
LINK_DIRECTORIES(/opt/local/lib)