Use --std=c++11 flag when targeting iOS platform
PiperOrigin-RevId: 295966567 Change-Id: I6cfb19f70228d8fcb42504430eb2e28beec7c2e7
This commit is contained in:
parent
911d4a618a
commit
876d602f57
@ -68,6 +68,10 @@ ifeq ($(HOST_OS),windows)
|
|||||||
CXXFLAGS += -fext-numeric-literals -D__LITTLE_ENDIAN__
|
CXXFLAGS += -fext-numeric-literals -D__LITTLE_ENDIAN__
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(TARGET),ios)
|
||||||
|
CXXFLAGS += --std=c++11
|
||||||
|
endif
|
||||||
|
|
||||||
# Auto-detect optimization opportunity if building natively.
|
# Auto-detect optimization opportunity if building natively.
|
||||||
ifeq ($(HOST_OS),$(TARGET))
|
ifeq ($(HOST_OS),$(TARGET))
|
||||||
ifeq ($(HOST_ARCH),$(TARGET_ARCH))
|
ifeq ($(HOST_ARCH),$(TARGET_ARCH))
|
||||||
|
Loading…
Reference in New Issue
Block a user