Changeset 12151


Ignore:
Timestamp:
2008-08-05T21:06:33+02:00 (10 years ago)
Author:
florian
Message:

fPIC fixes for 64-bits targets

Location:
packages/libs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libnotimpl/Makefile

    r9907 r12151  
    2222endef 
    2323 
     24ifeq ($(ARCH),x86_64) 
     25  FPIC:=-fPIC 
     26endif 
     27 
    2428define cc 
    25         $(TARGET_CC) $(TARGET_CFLAGS) -Wall -c src/$(1).c -o $(PKG_BUILD_DIR)/$(1).o 
     29        $(TARGET_CC) $(TARGET_CFLAGS) $(FPIC) -Wall -c src/$(1).c -o $(PKG_BUILD_DIR)/$(1).o 
    2630endef 
    2731 
  • packages/libs/openh323/Makefile

    r9907 r12151  
    2828endef 
    2929 
     30ifeq ($(ARCH),x86_64) 
     31  FPIC:=-fPIC 
     32endif 
     33 
    3034CONFIGURE_ARGS += \ 
    3135        --enable-minsize \ 
     
    3741 
    3842MAKE_FLAGS += \ 
    39         CFLAGS="$(TARGET_CFLAGS)" \ 
    40         CCFLAGS="$(TARGET_CFLAGS)" \ 
     43        CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \ 
     44        CCFLAGS="$(TARGET_CFLAGS) $(FPIC)" \ 
    4145        optnoshared 
    4246 
  • packages/libs/pwlib/Makefile

    r9907 r12151  
    3333 System. 
    3434endef 
     35 
     36ifeq ($(ARCH),x86_64) 
     37  FPIC:=-fPIC 
     38endif 
    3539 
    3640CONFIGURE_ARGS += \ 
     
    7983 
    8084CONFIGURE_VARS += \ 
    81         CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \ 
     85        STDCXXFLAGS="$(TARGET_CFLAGS) $(FPIC) -fno-builtin" \ 
    8286 
    8387MAKE_FLAGS += optnoshared 
Note: See TracChangeset for help on using the changeset viewer.