From 74eb74a3efcf2a0781c7ffad173c3f5cf8eaf479 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 9 May 2017 19:37:23 -0500 Subject: [PATCH] fragment: handle -include similarly to -isystem and -idirafter --- libpkgconf/fragment.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libpkgconf/fragment.c b/libpkgconf/fragment.c index c5320cb..327d1e6 100644 --- a/libpkgconf/fragment.c +++ b/libpkgconf/fragment.c @@ -47,6 +47,7 @@ pkgconf_fragment_is_unmergeable(const char *string) {"-ansi", 5}, {"-std=", 5}, {"-stdlib=", 8}, + {"-include", 8}, }; if (*string != '-') @@ -69,6 +70,7 @@ pkgconf_fragment_should_munge(const char *string, const char *sysroot_dir) static struct pkgconf_fragment_check check_fragments[] = { {"-isystem", 8}, {"-idirafter", 10}, + {"-include", 8}, }; if (*string != '/')