Index: Makefile |
diff --git a/Makefile b/Makefile |
index 2066cdc085192a44498ddca7bb149107b6745538..cae78377f25cc35571099e65562d301032e89d7d 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -8,7 +8,10 @@ |
# OPT_CFLAGS is here to allow adding options for manual, host-side |
# builds. |
OPT_CFLAGS = |
-CFLAGS += -Wall -Werror -fPIC -fno-exceptions $(OPT_CFLAGS) |
+COMMON_CFLAGS += -Wall -Werror -fPIC -fno-exceptions $(OPT_CFLAGS) |
+ |
+CFLAGS += $(COMMON_CFLAGS) |
+CXXFLAGS += $(COMMON_CFLAGS) |
LIB_OBJS = bootstat_log.o |