darktable: build style cmake handles -isystem
This commit is contained in:
@@ -21,8 +21,3 @@ depends="adwaita-icon-theme"
|
|||||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl"
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl"
|
||||||
distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
|
distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
|
||||||
checksum=da843190f08e02df19ccbc02b9d1bef6bd242b81499494c7da2cccdc520e24fc
|
checksum=da843190f08e02df19ccbc02b9d1bef6bd242b81499494c7da2cccdc520e24fc
|
||||||
|
|
||||||
post_configure() {
|
|
||||||
# Replace -isystem with -I to avoid "#include_next <stdlib.h>" file not found
|
|
||||||
find -name flags.make -exec sed -i "{}" -e "s;-isystem;-I;g" \;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user