File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818 - CFLAGS
1919 - CXXFLAGS
2020 script : |
21- export CFLAGS="-I${PREFIX}/include $CFLAGS"
22- export CXXFLAGS="-I${PREFIX}/include $CXXFLAGS"
21+ export CFLAGS="-D_GNU_SOURCE - I${PREFIX}/include $CFLAGS"
22+ export CXXFLAGS="-D_GNU_SOURCE - I${PREFIX}/include $CXXFLAGS"
2323
2424 cmake -S cpp/all -B build -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release
2525 cmake --build build --parallel ${CPU_COUNT:-1}
Original file line number Diff line number Diff line change 6161 URL https://github.com/samtools/htslib/releases/download/1.22/htslib-1.22.tar.bz2
6262 BUILD_IN_SOURCE 1
6363 UPDATE_COMMAND ""
64- CONFIGURE_COMMAND env CFLAGS= " $ENV{CFLAGS} -D_GNU_SOURCE" CXXFLAGS= " $ENV{CXXFLAGS} -D_GNU_SOURCE" autoreconf -i && ./configure --prefix =${htslib_PREFIX} ${disable_flags}
64+ CONFIGURE_COMMAND autoreconf -i && ./configure --prefix =${htslib_PREFIX} ${disable_flags}
6565 BUILD_COMMAND ${MAKE_COMMAND} lib-static
6666 INSTALL_COMMAND ${MAKE_COMMAND} install prefix =${htslib_INSTALL}
6767 )
You can’t perform that action at this time.
0 commit comments