Skip to content

Commit

Permalink
Compile all C files in gnu89 mode. Needed to build runtime library
Browse files Browse the repository at this point in the history
using clang (gnu89 is the gcc default).

git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@117319 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
pcc committed Oct 25, 2010
1 parent 6eb57dd commit 1c921e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c921e3

Please sign in to comment.