Prevent the -pedantic option from causing Mac OS/X build problems:
[oota-llvm.git] / lib / CodeGen / Makefile
1 ##===- lib/CodeGen/Makefile --------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL = ../..
11 LIBRARYNAME = LLVMCodeGen
12 PARALLEL_DIRS = SelectionDAG
13
14 include $(LEVEL)/Makefile.common
15
16 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
17 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))