File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,8 +125,12 @@ SFLAGS_add += $(SFLAGS_arch)
125125LDFLAGS_add += $(LDFLAGS_arch )
126126
127127CFLAGS_add += -std = c99 -Wall -I $(OPENLIBM_HOME ) -I $(OPENLIBM_HOME )/include -I $(OPENLIBM_HOME )/$(ARCH ) -I $(OPENLIBM_HOME )/src -DASSEMBLER -D__BSD_VISIBLE -Wno -implicit -function -declaration
128- ifneq ($(filter $(ARCH ), i387 amd64 aarch64 powerpc ), )
128+ ifneq ($(filter $(ARCH ), i387 amd64 powerpc ), )
129129CFLAGS_add += -I $(OPENLIBM_HOME )/ld80
130+ else
131+ ifneq ($(filter $(ARCH ), aarch64 ), )
132+ CFLAGS_add += -I $(OPENLIBM_HOME )/ld128
133+ endif
130134endif
131135
132136
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ SUBDIRS = src $(ARCH) bsdsrc
55# Add ld80 directory on x86 and x64
66ifneq ($(filter $(ARCH ) ,i387 amd64) ,)
77SUBDIRS += ld80
8+ else
9+ ifneq ($(filter $(ARCH ) ,aarch64) ,)
10+ SUBDIRS += ld128
11+ else
12+ endif
813endif
914
1015define INC_template
Original file line number Diff line number Diff line change 1- SRCS = invtrig.c k_cosl.c k_sinl.c k_tanl.c # s_nanl.c s_exp2l.c
1+ $(CUR_SRCS) += invtrig.c \
2+ e_acoshl.c e_powl.c k_tanl.c s_exp2l.c \
3+ e_atanhl.c e_lgammal_r.c e_sinhl.c s_asinhl.c s_expm1l.c \
4+ e_coshl.c e_log10l.c e_tgammal.c \
5+ e_expl.c e_log2l.c k_cosl.c s_log1pl.c s_tanhl.c \
6+ e_logl.c k_sinl.c s_erfl.c
7+
8+ # s_remquol.c e_fmodl.c s_truncl.c
9+ # e_hypotl.c s_floorl.c s_nextafterl.c s_ceill.c s_modfl.c
10+
11+ ifneq ($(OS), WINNT)
12+ $(CUR_SRCS) += s_nanl.c
13+ endif
You can’t perform that action at this time.
0 commit comments