Index: tools/gcmole/Makefile |
diff --git a/tools/gcmole/Makefile b/tools/gcmole/Makefile |
index 764245caf614b52fc7eb818ff099998aca4a18e7..ee43c00d20631c2f01e6da03b205bcec22a4dd6d 100644 |
--- a/tools/gcmole/Makefile |
+++ b/tools/gcmole/Makefile |
@@ -31,13 +31,12 @@ LLVM_INCLUDE:=$(LLVM_SRC_ROOT)/include |
CLANG_INCLUDE:=$(LLVM_SRC_ROOT)/tools/clang/include |
libgcmole.so: gcmole.cc |
- g++ -I$(LLVM_INCLUDE) -I$(CLANG_INCLUDE) -I. -D_DEBUG -D_GNU_SOURCE \ |
- -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 \ |
- -fomit-frame-pointer -fno-exceptions -fno-rtti -fPIC \ |
- -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing \ |
- -pedantic -Wno-long-long -Wall \ |
- -W -Wno-unused-parameter -Wwrite-strings \ |
- -shared -o libgcmole.so gcmole.cc |
+ $(CXX) -I$(LLVM_INCLUDE) -I$(CLANG_INCLUDE) -I. -D_DEBUG \ |
+ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS \ |
+ -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fno-exceptions \ |
+ -fno-rtti -fPIC -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing \ |
+ -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter \ |
+ -Wwrite-strings -std=c++0x -shared -o libgcmole.so gcmole.cc |
clean: |
- rm -f libgcmole.so |
+ $(RM) libgcmole.so |