aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/toolchain.gcc-default.cmake
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-02-15 02:49:19 +0100
committerSven Gothel <[email protected]>2014-02-15 02:49:19 +0100
commite9208977d09972e81e5dac9e196199b4e28244e8 (patch)
tree29240a11f6ac2ae0f14fc105b16c94db683ab8c1 /cmake/toolchain.gcc-default.cmake
parente6f4251945c228a775649b5ccd7f11dd4519c28d (diff)
cmake/toolchain*: Add CXX_FLAGS
Diffstat (limited to 'cmake/toolchain.gcc-default.cmake')
-rw-r--r--cmake/toolchain.gcc-default.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/toolchain.gcc-default.cmake b/cmake/toolchain.gcc-default.cmake
index 3b2c9cfd..43294ab0 100644
--- a/cmake/toolchain.gcc-default.cmake
+++ b/cmake/toolchain.gcc-default.cmake
@@ -1,6 +1,7 @@
# For normal gcc compilation, but use static-libgcc
-set(CMAKE_C_FLAGS "-include ${CMAKE_MODULE_PATH}/glibc-compat-symbols.h")
+set(CMAKE_C_FLAGS "-include ${PROJECT_SOURCE_DIR}/cmake/glibc-compat-symbols.h")
+set(CMAKE_CXX_FLAGS "-include ${PROJECT_SOURCE_DIR}/cmake/glibc-compat-symbols.h")
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c++ flags")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c flags")