diff options
author | Sven Gothel <[email protected]> | 2013-04-25 01:14:57 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-04-25 01:14:57 +0200 |
commit | 0df1e1ad30a0990591be4779ccc3d0034a3b33e5 (patch) | |
tree | 7a23a10755d9902abcc2b35db6f3acca59da89a9 | |
parent | 4bc21c454fc0583e249db3f23a3cf7aca72dd61d (diff) |
Toolchain CMake files for ARM* Cross-Compilation require host include directory (not in system include path) to pick up pulseaudio/alsa.
-rw-r--r-- | cmake/toolchain.gcc-armv6.cmake | 2 | ||||
-rw-r--r-- | cmake/toolchain.gcc-armv6hf.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/toolchain.gcc-armv6.cmake b/cmake/toolchain.gcc-armv6.cmake index 931afa57..f09eae27 100644 --- a/cmake/toolchain.gcc-armv6.cmake +++ b/cmake/toolchain.gcc-armv6.cmake @@ -1,6 +1,6 @@ # For normal gcc compilation, but use static-libgcc -set(CMAKE_C_FLAGS "-fpic -march=armv5te -marm -mfloat-abi=softfp -include ${CMAKE_MODULE_PATH}/glibc-compat-symbols.h") +set(CMAKE_C_FLAGS "-fpic -march=armv5te -marm -mfloat-abi=softfp -include ${CMAKE_MODULE_PATH}/glibc-compat-symbols.h -I/usr/include") set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c++ flags") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c flags") diff --git a/cmake/toolchain.gcc-armv6hf.cmake b/cmake/toolchain.gcc-armv6hf.cmake index f6edc136..3d197126 100644 --- a/cmake/toolchain.gcc-armv6hf.cmake +++ b/cmake/toolchain.gcc-armv6hf.cmake @@ -1,6 +1,6 @@ # For normal gcc compilation, but use static-libgcc -set(CMAKE_C_FLAGS "-fpic -march=armv6 -marm -mfloat-abi=hard -include ${CMAKE_MODULE_PATH}/glibc-compat-symbols.h") +set(CMAKE_C_FLAGS "-fpic -march=armv6 -marm -mfloat-abi=hard -include ${CMAKE_MODULE_PATH}/glibc-compat-symbols.h -I/usr/include") set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c++ flags") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c flags") |