summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/Makefile-clang.mk20
1 files changed, 10 insertions, 10 deletions
diff --git a/compilerplugins/Makefile-clang.mk b/compilerplugins/Makefile-clang.mk
index aad53a90ca5c..91a811a74eda 100644
--- a/compilerplugins/Makefile-clang.mk
+++ b/compilerplugins/Makefile-clang.mk
@@ -8,16 +8,6 @@
# Make sure variables in this Makefile do not conflict with other variables (e.g. from gbuild).
-CLANG_COMMA :=,
-
-ifeq ($(OS),WNT)
-CLANG_DL_EXT = .dll
-CLANG_EXE_EXT = .exe
-else
-CLANG_DL_EXT = .so
-CLANG_EXE_EXT =
-endif
-
# Compile flags ('make CLANGCXXFLAGS=-g' if you need to debug the plugin); you
# may occasionally want to override these:
ifeq ($(OS),WNT)
@@ -34,6 +24,16 @@ endif
# The uninteresting rest.
+CLANG_COMMA :=,
+
+ifeq ($(OS),WNT)
+CLANG_DL_EXT = .dll
+CLANG_EXE_EXT = .exe
+else
+CLANG_DL_EXT = .so
+CLANG_EXE_EXT =
+endif
+
# Clang headers require these.
CLANGDEFS=-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
ifneq ($(OS),WNT)