Changeset 11985


Ignore:
Timestamp:
2008-07-29T12:14:11+02:00 (8 years ago)
Author:
cyrus
Message:

lua: Remove -fPIC for non-powerpc platforms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/lua/Makefile

    r11608 r11985  
    2424 
    2525include $(INCLUDE_DIR)/package.mk 
     26 
     27ifeq ($(ARCH),powerpc) 
     28  FPIC:=-fPIC 
     29endif 
     30 
    2631 
    2732define Package/lua/Default 
     
    97102                RANLIB="$(TARGET_CROSS)ranlib" \ 
    98103                INSTALL_ROOT=/usr \ 
    99                 CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -fPIC" \ 
     104                CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(FPIC)" \ 
    100105                MYLDFLAGS="$(TARGET_LDFLAGS)" \ 
    101106                PKG_VERSION=$(PKG_VERSION) \ 
Note: See TracChangeset for help on using the changeset viewer.