quick-and-dirty fix for compilation error on aarch64
This commit is contained in:
parent
9d5fb2cb4c
commit
8c1e0c7dcc
|
@ -38,6 +38,9 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's|^ADD_EXECUTABLE(ptlsbench t/ptlsbench.c)$||g' CMakeLists.txt
|
||||
sed -i 's|^SET_TARGET_PROPERTIES(ptlsbench PROPERTIES COMPILE_FLAGS "-DPTLS_MEMORY_DEBUG=1")$||g' CMakeLists.txt
|
||||
sed -i 's|^TARGET_LINK_LIBRARIES(ptlsbench ''${PTLSBENCH_LIBS})$||g' CMakeLists.txt
|
||||
sed -i 's|deps/picotest|${picotest}|g' CMakeLists.txt
|
||||
sed -i 's|../deps/picotest|${picotest}|g' t/picotls.c
|
||||
sed -i 's|../deps/picotest|${picotest}|g' t/minicrypto.c
|
||||
|
|
Loading…
Reference in New Issue