summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-08 16:58:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-08 16:58:59 +0300
commitfe1ec4b914982e1918bf36b97419a9bfa59b28e1 (patch)
treed30fe9dbfd3077fb20362fb6a11ecc76e97d05ca
parentd577bbbaf1eeac53bd1a6ab9d43f35177dd778ff (diff)
Minor buildfile optimization
-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.