Fix -Wgnu-designator clang warnings
[uclibc-ng.git] / libm / nds32 / Makefile.arch
blobbd38690be605c2aa10bcb9f4aedab1101e888390
1 # Makefile for uClibc-ng
2 # Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
4 ifeq ($(UCLIBC_HAS_FENV),y)
5 libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c)
6 libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC))
7 endif
9 libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
11 ifeq ($(DOPIC),y)
12 libm-a-y+=$(libm_ARCH_OBJS:.o=.os)
13 else
14 libm-a-y+=$(libm_ARCH_OBJS)
15 endif
16 libm-so-y+=$(libm_ARCH_OBJS:.o=.os)