suppress -rdynamic when linking ubus
This commit is contained in:
parent
66b6fdeace
commit
17cdc0f4f6
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 2.8)
|
||||||
PROJECT(ubus C)
|
PROJECT(ubus C)
|
||||||
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3)
|
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3)
|
||||||
|
|
||||||
|
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
|
||||||
|
|
||||||
IF(APPLE)
|
IF(APPLE)
|
||||||
INCLUDE_DIRECTORIES(/opt/local/include)
|
INCLUDE_DIRECTORIES(/opt/local/include)
|
||||||
LINK_DIRECTORIES(/opt/local/lib)
|
LINK_DIRECTORIES(/opt/local/lib)
|
||||||
|
|
Loading…
Reference in a new issue