commit fbe7fea0ec50d3b65f42f712896c535af2c6f1ee
parent 2de503ee9392a0b86bb0fd203031294346a3f556
Author: St John Karp <contact@stjo.hn>
Date: Thu, 21 Jul 2022 09:35:09 -0400
flatpak: Build without -Werror=missing-include-dirs
This flag was causing the build to fail on my system because it
was looking for a non-existent include directory /usr/local/include.
I just couldn't figure out where it was getting that path.
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/flatpak/flatpak/build b/flatpak/flatpak/build
@@ -18,6 +18,13 @@ mv -f _ configure
sed 's/as_fn_error.*fuse/: "/g' configure > _
mv -f _ configure
+# The build keeps failing because it's looking for /usr/local/include
+# and I just can't figure out where it's getting that path.
+# In lieu of the right config option, we can just not throw an error
+# if an include directory is missing.
+sed '/-Werror=missing-include-dirs/d' configure > _
+mv -f _ configure
+
chmod +x configure
# Turn the fuse2 filesystem into a C program which does nothing.