mk: check for Apple in GCC
This commit is contained in:
parent
3284ff0517
commit
483240ebff
1 changed files with 2 additions and 0 deletions
2
mk/re.mk
2
mk/re.mk
|
@ -224,7 +224,9 @@ ifeq ($(OS),linux)
|
|||
endif
|
||||
ifeq ($(OS),darwin)
|
||||
CFLAGS += -fPIC -dynamic -DDARWIN
|
||||
ifneq (,$(findstring Apple, $(CC_LONGVER)))
|
||||
CFLAGS += -Wshorten-64-to-32
|
||||
endif
|
||||
DFLAGS := -MD
|
||||
LFLAGS += -fPIC
|
||||
SH_LFLAGS += -dynamiclib -dylib
|
||||
|
|
Loading…
Add table
Reference in a new issue