ifndef CONFIG_NEWLIB_LIBRARY_CUSTOMER

NEWLIB_FLAGS := -D_CLOCKS_PER_SEC_=CONFIG_FREERTOS_HZ \
                -D_POSIX_THREADS=1 \
                -D_UNIX98_THREAD_MUTEX_ATTRIBUTES=1

CFLAGS += $(NEWLIB_FLAGS)
CPPFLAGS += $(NEWLIB_FLAGS)
endif
