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 /cmake/toolchain.gcc-armv6.cmake | |
parent | 4bc21c454fc0583e249db3f23a3cf7aca72dd61d (diff) |
Toolchain CMake files for ARM* Cross-Compilation require host include directory (not in system include path) to pick up pulseaudio/alsa.
Diffstat (limited to 'cmake/toolchain.gcc-armv6.cmake')
-rw-r--r-- | cmake/toolchain.gcc-armv6.cmake | 2 |
1 files changed, 1 insertions, 1 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") |