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