Use IS_IOS instead of IS_DARWIN
parent
0af3a2525c
commit
ea12b5af0b
|
|
@ -160,7 +160,7 @@ ifeq ($(findstring lean,$(MAKECMDGOALS)),lean)
|
||||||
ifeq ($(findstring -fdata-sections,$(CXXFLAGS)),)
|
ifeq ($(findstring -fdata-sections,$(CXXFLAGS)),)
|
||||||
CXXFLAGS += -fdata-sections
|
CXXFLAGS += -fdata-sections
|
||||||
endif # CXXFLAGS
|
endif # CXXFLAGS
|
||||||
ifneq ($(IS_DARWIN),0)
|
ifneq ($(IS_IOS),0)
|
||||||
ifeq ($(findstring -Wl,-dead_strip,$(LDFLAGS)),)
|
ifeq ($(findstring -Wl,-dead_strip,$(LDFLAGS)),)
|
||||||
LDFLAGS += -Wl,-dead_strip
|
LDFLAGS += -Wl,-dead_strip
|
||||||
endif # CXXFLAGS
|
endif # CXXFLAGS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue