手機 - Blackberry Passport - 解決ntoarmv7-gcc: error: unrecognized option -rdynamic的問題



方式如下:

$ sudo vim /usr/share/cmake-3.7/Modules/Platform/Linux-GNU.cmake
    #set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-rdynamic")
    set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-export-dynamic")