diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2010-10-25 21:42:07 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2010-10-25 21:42:07 +0000 |
commit | 1c921e3d1e242c7d97878b330fa2e35056cccb79 (patch) | |
tree | f3ef3c72722ffb1363382ad1371d83c82ed13fad /Makefile.common | |
parent | 6eb57ddfb5aaa1ec2d7d2a695f8555649e33aa4b (diff) | |
download | klee-1c921e3d1e242c7d97878b330fa2e35056cccb79.tar.gz |
Compile all C files in gnu89 mode. Needed to build runtime library
using clang (gnu89 is the gcc default). git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@117319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index ff83602c..8bd74ae0 100644 --- a/Makefile.common +++ b/Makefile.common @@ -26,6 +26,9 @@ LLVMCC := $(LLVMGCC) LLVMCXX := $(LLVMGXX) endif +# Needed to build runtime library using clang (gnu89 is the gcc default) +C.Flags += -std=gnu89 + ifeq ($(ENABLE_EXT_STP),1) LD.Flags += -L$(STP_ROOT)/lib CXX.Flags += -I$(STP_ROOT)/include |