Index: src/platform/metrics/Makefile |
diff --git a/src/platform/metrics/Makefile b/src/platform/metrics/Makefile |
index 54b9f53bb0d9b2f32824c7d7fa6863c46d2e3641..784ff91e80a990f3709d70c1a7c376a486cae823 100644 |
--- a/src/platform/metrics/Makefile |
+++ b/src/platform/metrics/Makefile |
@@ -8,8 +8,7 @@ |
CCONFIG = $(shell $(PKG_CONFIG) --cflags dbus-1 glib-2.0 dbus-glib-1) |
LDCONFIG = $(shell $(PKG_CONFIG) --libs dbus-1 glib-2.0 gthread-2.0 dbus-glib-1) |
-CFLAGS = -Wall -Werror -I/usr/include -fPIC -O2 $(CCONFIG) |
-CXXFLAGS = $(CFLAGS) -fno-exceptions |
+CXXFLAGS += -Wall -Werror -fPIC -fno-exceptions $(CCONFIG) |
CLIENT = metrics_client |
DAEMON = metrics_daemon |
@@ -51,9 +50,6 @@ $(SHAREDLIB): $(LIB_OBJS) |
%.o: %.cc |
$(CXX) $(CXXFLAGS) -c $< -o $@ |
-%.o: %.c |
- $(CC) $(CFLAGS) -c $< -o $@ |
- |
# dependencies in addition to those defined by the rules |
metrics_daemon.o: \ |