endif
ifeq ($(comp),icc)
- CXXFLAGS += -wd383,981,1418,1419,1476,10187,10188,11505,11503 -Wcheck -Wabi -Wdeprecated -strict-ansi
+ CXXFLAGS += -diag-disable 1476,10120 -Wcheck -Wabi -Wdeprecated -strict-ansi
endif
ifeq ($(comp),clang)
### On mingw use Windows threads, otherwise POSIX
ifneq ($(comp),mingw)
- # Haiku has pthreads in its libroot, so only link it in on other platforms
- ifneq ($(UNAME),Haiku)
- LDFLAGS += -lpthread
+ # On Android Bionic's C library comes with its own pthread implementation bundled in
+ ifneq ($(arch),armv7)
+ # Haiku has pthreads in its libroot, so only link it in on other platforms
+ ifneq ($(UNAME),Haiku)
+ LDFLAGS += -lpthread
+ endif
endif
endif
endif
ifeq ($(arch),armv7)
- CXXFLAGS += -fno-gcse
+ CXXFLAGS += -fno-gcse -mthumb -march=armv7-a -mfloat-abi=softfp
endif
endif
ifeq ($(os),osx)
CXXFLAGS += -fast -mdynamic-no-pic
else
- CXXFLAGS += -O3
+ CXXFLAGS += -fast
endif
endif