Changeset 9717


Ignore:
Timestamp:
2007-12-13T02:17:26+01:00 (9 years ago)
Author:
nbd
Message:

hopefully fix occasional uClibc/gcc build failures

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/rules.mk

    r9575 r9717  
    3131SUBDIR:=$(patsubst $(TOPDIR)/%,%,${CURDIR}) 
    3232 
    33 OPTIMIZE_FOR_CPU:=$(ARCH) 
     33OPTIMIZE_FOR_CPU=$(ARCH) 
    3434 
    3535DL_DIR:=$(if $(call qstrip,$(CONFIG_DOWNLOAD_FOLDER)),$(call qstrip,$(CONFIG_DOWNLOAD_FOLDER)),$(TOPDIR)/dl) 
     
    5454  REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux-uclibc 
    5555  GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux 
    56   TARGET_CROSS?=$(OPTIMIZE_FOR_CPU)-linux-uclibc- 
     56  TARGET_CROSS:=$(if $(TARGET_CROSS),$(TARGET_CROSS),$(OPTIMIZE_FOR_CPU)-linux-uclibc-) 
    5757endif 
    5858 
  • trunk/toolchain/uClibc/Makefile

    r9587 r9717  
    6565 
    6666UCLIBC_MAKE := PATH=$(TARGET_PATH) $(MAKE) -C $(PKG_BUILD_DIR) \ 
    67                 DEVEL_PREFIX=/ \ 
    68                 RUNTIME_PREFIX=/ \ 
    69                 HOSTCC="$(HOSTCC)" \ 
    70                 CPU_CFLAGS="$(TARGET_CFLAGS)" 
     67        $(TARGET_CONFIGURE_OPTS) \ 
     68        DEVEL_PREFIX=/ \ 
     69        RUNTIME_PREFIX=/ \ 
     70        HOSTCC="$(HOSTCC)" \ 
     71        CPU_CFLAGS="$(TARGET_CFLAGS)" 
    7172 
    7273define Build/Compile 
Note: See TracChangeset for help on using the changeset viewer.