From 41537a770b46f2376e74af58ba4885749339e81e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 15 Sep 2014 22:13:07 +0200 Subject: buildsys: fix IS_IN_lib* define NOT_IN_libc / IS_IN_libxxx appropriately to fix pthread_once Signed-off-by: Bernhard Reutner-Fischer --- libm/Makefile.in | 2 -- libm/metag/Makefile.arch | 2 +- libm/powerpc/e500/fpu/Makefile.arch | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'libm') diff --git a/libm/Makefile.in b/libm/Makefile.in index 23a55b369..751170678 100644 --- a/libm/Makefile.in +++ b/libm/Makefile.in @@ -220,8 +220,6 @@ endif ifeq ($(UCLIBC_HAS_FPU),y) ifeq ($(DO_C99_MATH),y) ifneq ($(strip $(libm_ARCH_OBJS)),) -CFLAGS-libm/$(TARGET_ARCH)/ := $(CFLAGS-libm) -CFLAGS-libm/$(TARGET_ARCH)/$(TARGET_SUBARCH)/ := $(CFLAGS-libm) # remove generic sources, if arch specific version is present ifneq ($(strip $(libm_ARCH_SRC)),) diff --git a/libm/metag/Makefile.arch b/libm/metag/Makefile.arch index 4cc5a6b46..bcae0e27a 100644 --- a/libm/metag/Makefile.arch +++ b/libm/metag/Makefile.arch @@ -9,7 +9,7 @@ ifeq ($(UCLIBC_HAS_FENV),y) ifeq ($(CONFIG_META_2_1),y) libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c) libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC)) -CFLAGS-libm += -Wa,-mfpu=metac21 +CFLAGS-y-libm/metag := -Wa,-mfpu=metac21 endif endif diff --git a/libm/powerpc/e500/fpu/Makefile.arch b/libm/powerpc/e500/fpu/Makefile.arch index 1bb4f3a0f..904561e91 100644 --- a/libm/powerpc/e500/fpu/Makefile.arch +++ b/libm/powerpc/e500/fpu/Makefile.arch @@ -11,8 +11,6 @@ libm_ARCH_SRC:=$(wildcard $(libm_ARCH_fpu_DIR)/*.c) libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_fpu_DIR)/%.c,$(libm_ARCH_fpu_OUT)/%.o,$(libm_ARCH_SRC)) endif -CFLAGS-libm/$(TARGET_ARCH)/$(TARGET_SUBARCH)/fpu/ := $(CFLAGS-libm) - libm_ARCH_OBJS:=$(libm_ARCH_OBJ) ifeq ($(DOPIC),y) -- cgit v1.2.3