cmake: add (commented out) lines for static libc
[android/external-libkmsxx.git] / CMakeLists.txt
index 6a638e24a98cdfe69e38c8f73d07624bab54f1a2..433418e1414b6a1d34aa4c043c8cae06a5497090 100644 (file)
@@ -12,6 +12,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
 
 set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
 
 
 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)
 
 find_package(PkgConfig REQUIRED)
 pkg_check_modules(LIBDRM libdrm REQUIRED)