summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpkgconf/libpkgconf/buildfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpkgconf/libpkgconf/buildfile b/libpkgconf/libpkgconf/buildfile
index a035713..c29bc53 100644
--- a/libpkgconf/libpkgconf/buildfile
+++ b/libpkgconf/libpkgconf/buildfile
@@ -88,8 +88,7 @@ c.poptions =+ "-I$out_root" "-I$src_root"
#
if $msvc
c.coptions += /wd4996 /wd4267
-
-if $clang_msvc
+elif $clang_msvc
c.coptions += -Wno-deprecated-declarations -Wno-unused-function
# Note: this should go last as it adds obj target-specific poptions.