swh:1:snp:d80eec3f654c152adbdd6e641362bcb340d39fe2
Raw File
Tip revision: 3e1208fb8d2b5a4b12d46b8614bb7001ac4b0c1a authored by Daniel Lee on 20 October 2014, 14:26:54 UTC
updating example-models to master
Tip revision: 3e1208f
os_mac
##
# This file should modify the following variables
# as appropriate:
#   - CFLAGS
#   - CFLAGS_GTEST

ifeq (g++,$(CC_TYPE))
  CFLAGS += -Wno-unused-function
  VERSION := $(CC_MAJOR).$(CC_MINOR)
  ifeq (4.2,$(CC_MAJOR).$(CC_MINOR))
    TEMPLATE_DEPTH ?= 256
    CFLAGS += -ftemplate-depth-$(TEMPLATE_DEPTH)
  endif
endif

ifeq (clang++,$(CC_TYPE))
  CFLAGS_GTEST += -Wc++11-extensions
  CFLAGS_GTEST += -Wno-c++11-long-long
  CFLAGS += -Wno-unused-function
  CFLAGS += -Wno-tautological-compare
  CFLAGS += -Wno-c++11-long-long
  ifeq (true,$(C++11))
    CFLAGS += -stdlib=libc++ -std=c++11
  endif
  #PCH = .pch
  ifeq (4.2,$(CC_MAJOR).$(CC_MINOR))
    TEMPLATE_DEPTH ?= 256
    CFLAGS += -ftemplate-depth=$(TEMPLATE_DEPTH)
  endif
endif
back to top