diff options
| author | Christopher Li <sparse@chrisli.org> | 2016-09-29 00:38:31 -0700 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2016-10-13 03:55:59 -0700 |
| commit | 153fbd0bbbfd952c6e3c1f6494e71d6ba903f7ed (patch) | |
| tree | a52d2460120282c57d4e361c705a01a63288b30a /Makefile | |
| parent | 7647c775497f8c0f5841051377fba8cbb495c275 (diff) | |
| download | sparse-dev-153fbd0bbbfd952c6e3c1f6494e71d6ba903f7ed.tar.gz | |
Fix warning compiling sparse-llvm
-pedantic in the llvm-config --cflags cause a lot of warning.
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -84,7 +84,7 @@ ifeq ($(shell expr "$(LLVM_VERSION)" : '[3-9]\.'),2) LLVM_PROGS := sparse-llvm $(LLVM_PROGS): LD := g++ LLVM_LDFLAGS := $(shell $(LLVM_CONFIG) --ldflags) -LLVM_CFLAGS := $(shell $(LLVM_CONFIG) --cflags | sed -e "s/-DNDEBUG//g") +LLVM_CFLAGS := $(shell $(LLVM_CONFIG) --cflags | sed -e "s/-DNDEBUG//g" | sed -e "s/-pedantic//g") LLVM_LIBS := $(shell $(LLVM_CONFIG) --libs) LLVM_LIBS += $(shell $(LLVM_CONFIG) --system-libs 2>/dev/null) PROGRAMS += $(LLVM_PROGS) |
