components/gcc49/Makefile
changeset 5784 b08ada1b6001
parent 5682 94c0ca64c022
equal deleted inserted replaced
5783:f6513c88489e 5784:b08ada1b6001
    65 GNU_SECTIONS_MAPFILE = $(COMPONENT_DIR)/Solaris/map.gnu-sections
    65 GNU_SECTIONS_MAPFILE = $(COMPONENT_DIR)/Solaris/map.gnu-sections
    66 
    66 
    67 # Make sure to pass -m32/64 any time the installed GCC is used 
    67 # Make sure to pass -m32/64 any time the installed GCC is used 
    68 CC += $(CC_BITS)
    68 CC += $(CC_BITS)
    69 CXX += $(CC_BITS)
    69 CXX += $(CC_BITS)
       
    70 
       
    71 # Specify the C Standard to use when building
       
    72 CC += -std=gnu89
    70 
    73 
    71 CFLAGS.i386 = -mtune=opteron -march=opteron -fno-strict-aliasing
    74 CFLAGS.i386 = -mtune=opteron -march=opteron -fno-strict-aliasing
    72 CFLAGS.sparc = -mtune=ultrasparc3 -mcpu=ultrasparc3 -mvis2 \
    75 CFLAGS.sparc = -mtune=ultrasparc3 -mcpu=ultrasparc3 -mvis2 \
    73   -mno-unaligned-doubles -mhard-float -fno-strict-aliasing
    76   -mno-unaligned-doubles -mhard-float -fno-strict-aliasing
    74 CFLAGS = -g -O2 -pthread
    77 CFLAGS = -g -O2 -pthread