unionfs: add patch to disable search for the C++ compiler
PATCH 1/1 unionfs: add patch to disable search for the C++ compiler
Fixes
http://autobuild.buildroot.org/results/9c4a9897dda1b99cc7a57af605301b53ed32b95d/build-end.log
Signed-off-by Thomas Petazzoni <[email protected]>
--- package/unionfs/unionfs-fuse-no-cxx-needed.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/unionfs/unionfs-fuse-no-cxx-needed.patch
package/unionfs/unionfs-fuse-no-cxx-needed.patch new file +19 -0
@@ -0,0 +1,19 @@ +By default, CMake assumes a project uses the C and C++ languages, so +it checks for both the C and the C++ compiler to exist. + +However, unionfs-fuse is written purely in C, so checking for a C++ +compiler is useless, and even prevents unionfs-fuse from building +properly on targets for which no C++ compiler is available. + +Signed-off-by: Thomas Petazzoni <[email protected]> + +Index: b/CMakeLists.txt +=================================================================== +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-project(unionfs-fuse) ++project(unionfs-fuse C) + + cmake_minimum_required(VERSION 2.0) + INCLUDE (CheckIncludeFiles)
Signature · 1 line
1.7.9.5
PATCH 1/1 unionfs: add patch to disable search for the C++ compiler
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> Fixes
Thomas> http://autobuild.buildroot.org/results/9c4a9897dda1b99cc7a57af605301b53ed32b95d/build-end.log
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard