Changeset 13892


Ignore:
Timestamp:
2009-01-06T16:56:30+01:00 (8 years ago)
Author:
nbd
Message:

add the make variable LIBGCC_S, which points to the correct libgcc ldflag (avr32 only has a static library, most targets use the dynamic one)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rules.mk

    r12601 r13892  
    6868TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include 
    6969TARGET_LDFLAGS:=-L$(TOOLCHAIN_DIR)/lib -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib 
     70LIBGCC_S=$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so),-lgcc_s,$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc.a)) 
    7071 
    7172ifeq ($(CONFIG_NATIVE_TOOLCHAIN),) 
Note: See TracChangeset for help on using the changeset viewer.