comparison Makefile.rules @ 83:60c9769439b8 LLVM3.7

LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Wed, 18 Feb 2015 14:55:36 +0900
parents 54457678186b
children afa8332a0e37
comparison
equal deleted inserted replaced
78:af83660cff7b 83:60c9769439b8
447 LD.Flags += -Wl,--allow-multiple-definition 447 LD.Flags += -Wl,--allow-multiple-definition
448 endif 448 endif
449 endif 449 endif
450 endif 450 endif
451 451
452 CXX.Flags += -Woverloaded-virtual
453 CPP.BaseFlags += $(CPP.Defines) 452 CPP.BaseFlags += $(CPP.Defines)
454 AR.Flags := cru 453 AR.Flags := cru
455 454
456 # Make Floating point IEEE compliant on Alpha. 455 # Make Floating point IEEE compliant on Alpha.
457 ifeq ($(ARCH),Alpha) 456 ifeq ($(ARCH),Alpha)
678 CompileCommonOpts += -pedantic -Wno-long-long 677 CompileCommonOpts += -pedantic -Wno-long-long
679 endif 678 endif
680 CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \ 679 CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \
681 $(EXTRA_OPTIONS) $(COVERED_SWITCH_DEFAULT) \ 680 $(EXTRA_OPTIONS) $(COVERED_SWITCH_DEFAULT) \
682 $(NO_UNINITIALIZED) $(NO_MAYBE_UNINITIALIZED) \ 681 $(NO_UNINITIALIZED) $(NO_MAYBE_UNINITIALIZED) \
683 $(NO_MISSING_FIELD_INITIALIZERS) 682 $(NO_MISSING_FIELD_INITIALIZERS) $(NO_COMMENT)
684 # Enable cast-qual for C++; the workaround is to use const_cast. 683 # Enable cast-qual for C++; the workaround is to use const_cast.
685 CXX.Flags += -Wcast-qual 684 CXX.Flags += -Wcast-qual
686 685
687 ifeq ($(HOST_OS),HP-UX) 686 ifeq ($(HOST_OS),HP-UX)
688 CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE 687 CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE
1779 1778
1780 ############################################################################### 1779 ###############################################################################
1781 # CHECK: Running the test suite 1780 # CHECK: Running the test suite
1782 ############################################################################### 1781 ###############################################################################
1783 1782
1784 check:: all 1783 check::
1785 $(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \ 1784 $(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \
1786 if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \ 1785 if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \
1787 $(EchoCmd) Running test suite ; \ 1786 $(EchoCmd) Running test suite ; \
1788 $(MAKE) -C $(PROJ_OBJ_ROOT)/test check-local \ 1787 $(MAKE) -C $(PROJ_OBJ_ROOT)/test check-local \
1789 TESTSUITE=$(TESTSUITE) ; \ 1788 TESTSUITE=$(TESTSUITE) ; \