incron: fix build with gcc>=12
This commit is contained in:
parent
e71040342e
commit
b8b7cc7bcd
|
@ -16,6 +16,8 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
*-musl) makedepends="argp-standalone";;
|
||||
esac
|
||||
|
||||
export CXXFLAGS="--std=c++14"
|
||||
|
||||
do_build() {
|
||||
sed -i 's,sbin,bin,g' Makefile
|
||||
sed -i '1,1i#include <unistd.h>' inotify-cxx.cpp icd-main.cpp
|
||||
|
|
Loading…
Reference in New Issue