Changeset 12224


Ignore:
Timestamp:
2008-08-07T00:10:20+02:00 (10 years ago)
Author:
nbd
Message:

add a variable that contains the proper architecture-dependent -fPIC/-fpic cflag for building shared libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rules.mk

    r12054 r12224  
    3939 
    4040OPTIMIZE_FOR_CPU=$(ARCH) 
     41 
     42ifeq ($(ARCH),powerpc) 
     43  FPIC:=-fPIC 
     44else 
     45  FPIC:=-fpic 
     46endif 
    4147 
    4248DL_DIR:=$(if $(call qstrip,$(CONFIG_DOWNLOAD_FOLDER)),$(call qstrip,$(CONFIG_DOWNLOAD_FOLDER)),$(TOPDIR)/dl) 
Note: See TracChangeset for help on using the changeset viewer.