vxl: fixing build with the new linux headers
This commit is contained in:
parent
d9f4b0a2e4
commit
06f6bb0559
@ -9,7 +9,10 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ cmake unzip libtiff expat zlib libpng libjpeg ];
|
||||
|
||||
cmakeFlags = "-DBUILD_TESTING=OFF " + (if (stdenv.system == "x86_64-linux") then
|
||||
# BUILD_OUL wants old linux headers for videodev.h, not available
|
||||
# in stdenv linux headers
|
||||
cmakeFlags = "-DBUILD_TESTING=OFF -DBUILD_OUL=OFF "
|
||||
+ (if (stdenv.system == "x86_64-linux") then
|
||||
"-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC"
|
||||
else
|
||||
"");
|
||||
|
Loading…
Reference in New Issue
Block a user