diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-09-30 13:43:35 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@iki.fi> | 2015-10-01 19:40:22 +0300 |
commit | 856fa561b15cec79fd01a641c9f21be95dcc32cb (patch) | |
tree | 6307b3df04add13c3814b17d3faeea3743604ab9 | |
parent | bdbb64663d30eee0c71ea985c0d12f85fe33b831 (diff) |
cmake: add (commented out) lines for static libc
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a638e2..433418e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall") set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) +# static link libc +# set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++") + find_package(PkgConfig REQUIRED) pkg_check_modules(LIBDRM libdrm REQUIRED) |