treewide: remove BUILD_TESTING flag

This is now set by CMake
This commit is contained in:
Matthew Bauer
2019-03-11 10:11:28 -04:00
parent 91f0c848f4
commit 6ed49262f5
19 changed files with 9 additions and 30 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
# BUILD_OUL wants old linux headers for videodev.h, not available
# in stdenv linux headers
# BUILD_BRL fails to find open()
cmakeFlags = "-DBUILD_TESTING=OFF -DBUILD_OUL=OFF -DBUILD_BRL=OFF -DBUILD_CONTRIB=OFF "
cmakeFlags = "-DBUILD_OUL=OFF -DBUILD_BRL=OFF -DBUILD_CONTRIB=OFF "
+ (if stdenv.hostPlatform.system == "x86_64-linux" then
"-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC"
else