summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8371d35..4adc03b 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ lex.yy.c: lex.l
$(LEX) lex.l
libcgroup.so: api.c libcgroup.h wrapper.c
- $(CXX) $(CFLAGS) -shared -fPIC -Wl,--soname,$@.$(VERSION) -o $@ api.c \
+ $(CC) $(CFLAGS) -shared -fPIC -Wl,--soname,$@.$(VERSION) -o $@ api.c \
wrapper.c
ln -sf $@ $@.$(VERSION)
diff --git a/Makefile.in b/Makefile.in
index 7fdff9a..6c6f3bc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -48,7 +48,7 @@ lex.yy.c: lex.l
$(LEX) lex.l
libcgroup.so: api.c libcgroup.h wrapper.c
- $(CXX) $(CFLAGS) -shared -fPIC -Wl,--soname,$@.$(VERSION) -o $@ api.c \
+ $(CC) $(CFLAGS) -shared -fPIC -Wl,--soname,$@.$(VERSION) -o $@ api.c \
wrapper.c
ln -sf $@ $@.$(VERSION)