Add libm internal build macro __is_sortix_libm.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-09-22 23:46:12 +02:00
parent 3a30ba57ef
commit 752bdab798
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ CFLAGS:=$(CFLAGS) -std=gnu99 -Wall -Wextra
CPPFLAGS:=$(CPPFLAGS) -I include -I src -I $(ARCH_SUBDIR)
# TODO: Figure out whether these are the defines that we want to pass.
CPPFLAGS:=$(CPPFLAGS) -D_MULTI_LIBM -D_POSIX_MODE
CPPFLAGS:=$(CPPFLAGS) -D__is_sortix_libm=1 -D_MULTI_LIBM -D_POSIX_MODE
ARCH_SRCS:=$(addprefix $(ARCH_SUBDIR)/,$(ARCH_SRCS))
COMMON_SRCS:=$(addprefix src/,$(COMMON_SRCS))