summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-09-30 13:43:35 +0300
committerTomi Valkeinen <tomi.valkeinen@iki.fi>2015-10-01 19:40:22 +0300
commit856fa561b15cec79fd01a641c9f21be95dcc32cb (patch)
tree6307b3df04add13c3814b17d3faeea3743604ab9
parentbdbb64663d30eee0c71ea985c0d12f85fe33b831 (diff)
cmake: add (commented out) lines for static libc
-rw-r--r--CMakeLists.txt3
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)