Changeset 35683


Ignore:
Timestamp:
2013-02-19T18:22:46+01:00 (5 years ago)
Author:
florian
Message:

libiconv: compile iconv stub with TARGET_CFLAGS

Fixes spurious build issues when changing target CFLAGS for specific ABI
options (such as ARM's floating point ABI).

Signed-off-by: Florian Fainelli <florian@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/libs/libiconv/Makefile

    r33861 r35683  
    3737 
    3838define Build/Compile 
    39         $(TARGET_CC) -c $(PKG_BUILD_DIR)/iconv.c -o $(PKG_BUILD_DIR)/iconv.o -I$(PKG_BUILD_DIR)/include $(FPIC) 
     39        $(TARGET_CC) $(TARGET_CFLAGS) -c $(PKG_BUILD_DIR)/iconv.c -o $(PKG_BUILD_DIR)/iconv.o -I$(PKG_BUILD_DIR)/include $(FPIC) 
    4040        $(TARGET_CROSS)ar rcs $(PKG_BUILD_DIR)/libiconv.a $(PKG_BUILD_DIR)/iconv.o 
    4141endef 
Note: See TracChangeset for help on using the changeset viewer.