Use IS_IOS instead of IS_DARWIN

This commit is contained in:
Jeffrey Walton 2017-05-26 22:23:35 -04:00
parent 0af3a2525c
commit ea12b5af0b
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -160,7 +160,7 @@ ifeq ($(findstring lean,$(MAKECMDGOALS)),lean)
ifeq ($(findstring -fdata-sections,$(CXXFLAGS)),)
CXXFLAGS += -fdata-sections
endif # CXXFLAGS
ifneq ($(IS_DARWIN),0)
ifneq ($(IS_IOS),0)
ifeq ($(findstring -Wl,-dead_strip,$(LDFLAGS)),)
LDFLAGS += -Wl,-dead_strip
endif # CXXFLAGS