enable $(FPIC) for a few more packages

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12228 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-08-06 22:43:15 +00:00
parent 1d7a6f9012
commit b0190e566b
119 changed files with 284 additions and 98 deletions

View File

@ -39,6 +39,7 @@ define Package/alsa-lib/description
You must have enabled the ALSA support in the kernel. You must have enabled the ALSA support in the kernel.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -29,6 +29,7 @@ define Package/libaprutil
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--with-pgsql=no \ --with-pgsql=no \
--with-apr="$(STAGING_DIR)/usr/bin/apr-1-config" \ --with-apr="$(STAGING_DIR)/usr/bin/apr-1-config" \

View File

@ -28,17 +28,16 @@ define Package/libapr
URL:=http://apr.apache.org/ URL:=http://apr.apache.org/
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--with-devrandom=/dev/urandom \ --with-devrandom=/dev/urandom \
--disable-dso \ --disable-dso \
--enable-ipv6 --enable-ipv6
CONFIGURE_VARS += \ CONFIGURE_VARS += \
ac_cv_file__dev_zero=yes \
apr_cv_process_shared_works=no \ apr_cv_process_shared_works=no \
apr_cv_mutex_robust_shared=no \ apr_cv_mutex_robust_shared=no \
apr_cv_tcp_nodelay_with_cork=yes \ apr_cv_tcp_nodelay_with_cork=yes \
ac_cv_sizeof_ssize_t=4 \
LDFLAGS="$$$$LDFLAGS -lpthread" \ LDFLAGS="$$$$LDFLAGS -lpthread" \
define Build/Compile define Build/Compile

View File

@ -35,6 +35,7 @@ define Package/argtable/description
each argument. each argument.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -100,6 +100,7 @@ $(call Package/avahi/Default/description)
in a DHCP-like fashion. Especially useful on IPv6. in a DHCP-like fashion. Especially useful on IPv6.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -41,6 +41,8 @@ define Build/Configure
$(MAKE) -C $(PKG_BUILD_DIR) oldconfig $(MAKE) -C $(PKG_BUILD_DIR) oldconfig
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \ CC="$(TARGET_CC)" \

View File

@ -29,6 +29,8 @@ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -30,6 +30,8 @@ endef
define Build/Configure define Build/Configure
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \

View File

@ -36,6 +36,8 @@ define Build/Configure
$(call Build/Configure/Default) $(call Build/Configure/Default)
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
cd $(PKG_BUILD_DIR) ; DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) all install cd $(PKG_BUILD_DIR) ; DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) all install
cd $(PKG_INSTALL_DIR)/usr/lib/ ; ln -s libcheck.so libcheck_pic.so cd $(PKG_INSTALL_DIR)/usr/lib/ ; ln -s libcheck.so libcheck_pic.so

View File

@ -29,6 +29,8 @@ define Package/clearsilver/description
Clearsilver is a fast, powerful, and language-neutral HTML template system. In both static content sites and dynamic HTML applications, it provides a separation between presentation code and application logic which makes working with your project easier. Clearsilver is a fast, powerful, and language-neutral HTML template system. In both static content sites and dynamic HTML applications, it provides a separation between presentation code and application logic which makes working with your project easier.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--disable-wdb \ --disable-wdb \
--disable-apache \ --disable-apache \

View File

@ -36,6 +36,8 @@ endef
# uses GNU configure # uses GNU configure
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
chmod +x $(PKG_BUILD_DIR)/config/install-sh chmod +x $(PKG_BUILD_DIR)/config/install-sh
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \

View File

@ -37,6 +37,8 @@ define Package/confuse/description
libConfuse was called libcfg before, but was changed to not confuse with other similar libraries. libConfuse was called libcfg before, but was changed to not confuse with other similar libraries.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -46,6 +46,8 @@ define Package/libcurl
TITLE:=A client-side URL transfer utility TITLE:=A client-side URL transfer utility
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -28,48 +28,46 @@ define Package/libsasl2
URL:=http://asg.web.cmu.edu/sasl/ URL:=http://asg.web.cmu.edu/sasl/
endef endef
define Build/Configure TARGET_CFLAGS += $(FPIC)
$(call Build/Configure/Default, \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
--disable-sample \ --disable-sample \
--enable-staticdlopen \ --enable-staticdlopen \
--disable-java \ --disable-java \
--disable-alwaystrue \ --disable-alwaystrue \
--disable-checkapop \ --disable-checkapop \
--enable-cram \ --enable-cram \
--enable-digest \ --enable-digest \
--disable-otp \ --disable-otp \
--disable-srp \ --disable-srp \
--disable-srp-setpass \ --disable-srp-setpass \
--disable-krb4 \ --disable-krb4 \
--disable-gssapi \ --disable-gssapi \
--disable-gss_mutexes \ --disable-gss_mutexes \
--enable-plain \ --enable-plain \
--enable-anon \ --enable-anon \
--disable-login \ --disable-login \
--disable-ntlm \ --disable-ntlm \
--disable-sql \ --disable-sql \
--with-dblib="none" \ --with-dblib="none" \
--without-gdbm \ --without-gdbm \
--with-devrandom="/dev/urandom" \ --with-devrandom="/dev/urandom" \
--without-pam \ --without-pam \
--without-saslauthd \ --without-saslauthd \
--without-authdaemond \ --without-authdaemond \
--without-pwcheck \ --without-pwcheck \
--with-ipctype=unix \ --with-ipctype=unix \
--with-openssl="$(STAGING_DIR)/usr" \ --with-openssl="$(STAGING_DIR)/usr" \
--without-des \ --without-des \
--without-opie \ --without-opie \
--without-ldap \ --without-ldap \
--without-mysql \ --without-mysql \
--without-pgsql \ --without-pgsql \
--without-sqlite \ --without-sqlite \
--without-rc4 \ --without-rc4 \
--without-dmalloc \ --without-dmalloc \
--without-sfio \ --without-sfio
);
endef
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/include \ $(MAKE) -C $(PKG_BUILD_DIR)/include \

View File

@ -74,6 +74,8 @@ define Build/Configure
); );
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
rm -rf $(PKG_INSTALL_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)

View File

@ -28,6 +28,8 @@ define Package/libdbus-glib
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -33,6 +33,8 @@ define Package/libexpat/description
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static --enable-static

View File

@ -70,6 +70,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
MAKE_FLAGS += \ MAKE_FLAGS += \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \
all install \ all install \

View File

@ -33,6 +33,8 @@ define Package/fcgi/description
server specific APIs. server specific APIs.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -44,6 +44,8 @@ define Package/file/description
a wrapper around the "magic" library. a wrapper around the "magic" library.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -30,6 +30,8 @@ endef
define Build/Configure define Build/Configure
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.lite \ $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.lite \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \

View File

@ -35,6 +35,8 @@ define Package/libfreetype/description
efficient and ubiquitous products. efficient and ubiquitous products.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -26,20 +26,20 @@ define Package/libgd
URL:=http://www.boutell.com/gd/ URL:=http://www.boutell.com/gd/
endef endef
define Build/Configure CONFIGURE_ARGS += \
$(call Build/Configure/Default, \ --enable-shared \
--enable-shared \ --enable-static \
--enable-static \ --disable-rpath \
--disable-rpath \ --without-x \
--without-x \ --without-freetype \
--without-freetype \ --with-jpeg=$(STAGING_DIR)/usr \
--with-jpeg=$(STAGING_DIR)/usr \ --with-png=$(STAGING_DIR)/usr \
--with-png=$(STAGING_DIR)/usr \ --without-xpm
--without-xpm \
, \ CONFIGURE_VARS += \
LIBPNG12_CONFIG="$(STAGING_DIR)/usr/bin/libpng12-config" \ LIBPNG12_CONFIG="$(STAGING_DIR)/usr/bin/libpng12-config"
)
endef TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \

View File

@ -27,6 +27,8 @@ define Package/libgdbm
URL:=http://www.gnu.org/software/gdbm/ URL:=http://www.gnu.org/software/gdbm/
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -27,6 +27,8 @@ define Package/libintl
URL:=http://www.gnu.org/software/gettext/ URL:=http://www.gnu.org/software/gettext/
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -25,19 +25,8 @@ define Package/giflib
DEPENDS:= DEPENDS:=
endef endef
CONFIGURE_ARGS+=--without-x TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += --without-x
define Build/Configure
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
if [ -x $(CONFIGURE_CMD) ]; then \
$(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
$(CONFIGURE_VARS) \
$(CONFIGURE_CMD) \
$(CONFIGURE_ARGS_XTRA) \
$(CONFIGURE_ARGS) ;\
fi \
)
endef
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) $(MAKE) -C $(PKG_BUILD_DIR)

View File

@ -36,6 +36,8 @@ define Package/glib1/description
as trees, hashes, and lists. as trees, hashes, and lists.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -35,6 +35,7 @@ define Package/glib2/description
The GLib library of C routines The GLib library of C routines
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Configure define Build/Configure
mkdir -p $(PKG_BUILD_DIR)/build/$(GNU_HOST_NAME) mkdir -p $(PKG_BUILD_DIR)/build/$(GNU_HOST_NAME)

View File

@ -102,6 +102,8 @@ $(call Package/gnutls/Default/description)
This package contains the GnuTLS OpenSSL compatibility layer shared library. This package contains the GnuTLS OpenSSL compatibility layer shared library.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -32,6 +32,8 @@ define Package/libgsl/description
There are over 1000 functions in total with an extensive test suite. There are over 1000 functions in total with an extensive test suite.
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
rm -rf $(PKG_INSTALL_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)

View File

@ -53,6 +53,8 @@ endef
define Build/Configure define Build/Configure
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
rm -rf $(PKG_INSTALL_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)

View File

@ -90,6 +90,8 @@ define Build/Configure
); );
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -28,6 +28,8 @@ define Package/id3lib
URL:=http://www.id3lib.org/ URL:=http://www.id3lib.org/
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -28,6 +28,8 @@ define Package/libiksemel
DEPENDS:= +libgnutls DEPENDS:= +libgnutls
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -41,6 +41,8 @@ define Package/jpeg-tools
TITLE+= manipulation tools TITLE+= manipulation tools
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -33,6 +33,8 @@ endef
LIBAIO_CFLAGS:=-nostdlib -nostartfiles -I. $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) LIBAIO_CFLAGS:=-nostdlib -nostartfiles -I. $(TARGET_CFLAGS) $(TARGET_CPPFLAGS)
LIBAIO_SOVER:=1.0.1 LIBAIO_SOVER:=1.0.1
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \

View File

@ -32,6 +32,8 @@ endef
define Build/Configure define Build/Configure
endef endef
TARGET_CFLAGS += $(FPIC)
MAKE_FLAGS += \ MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -fPIC" \ CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -fPIC" \
LDIR=$(PKG_BUILD_DIR) \ LDIR=$(PKG_BUILD_DIR) \

View File

@ -31,16 +31,15 @@ define Package/libao/description
output audio using a simple API on a wide variety of platforms. output audio using a simple API on a wide variety of platforms.
endef endef
define Build/Configure CONFIGURE_ARGS += \
$(call Build/Configure/Default, \ --enable-shared \
--enable-shared \ --enable-static \
--enable-static \ --disable-esd \
--disable-esd \ --disable-arts \
--disable-arts \ --disable-nas \
--disable-nas \ --disable-polyp
--disable-polyp \
) TARGET_CFLAGS += $(FPIC)
endef
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \

View File

@ -36,6 +36,8 @@ define Package/libart/description
especially suitable for embedded applications. especially suitable for embedded applications.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static --enable-static

View File

@ -38,6 +38,8 @@ define Package/libatomicops/description
architectures. architectures.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -31,6 +31,8 @@ define Package/libaudiofile/description
and raw data). and raw data).
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Configure define Build/Configure
$(call Build/Configure/Default, \ $(call Build/Configure/Default, \
--enable-shared \ --enable-shared \

View File

@ -32,6 +32,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/bfd \ $(MAKE) -C $(PKG_BUILD_DIR)/bfd \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -32,6 +32,8 @@ define Package/libcli/description
authentication and callbacks for a user-definable function tree. authentication and callbacks for a user-definable function tree.
endef endef
TARGET_CFLAGS += $(FPIC)
MAKE_FLAGS += \ MAKE_FLAGS += \
OPTIM="$(TARGET_CFLAGS)" \ OPTIM="$(TARGET_CFLAGS)" \
CFLAGS="$(TARGET_CFLAGS)" \ CFLAGS="$(TARGET_CFLAGS)" \

View File

@ -46,6 +46,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -52,6 +52,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -43,6 +43,8 @@ define Package/pydnet/description
low-level networking routines. low-level networking routines.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -30,6 +30,8 @@ define Package/libdvbpsi4/description
decoding and generating. decoding and generating.
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(call Build/Compile/Default, \ $(call Build/Compile/Default, \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -25,6 +25,8 @@ define Package/libelf
URL:=http://www.stud.uni-hannover.de/~michael/software/ URL:=http://www.stud.uni-hannover.de/~michael/software/
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -38,6 +38,8 @@ define Package/libevent/description
the event loop. the event loop.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -35,6 +35,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -33,6 +33,8 @@ define Package/libffi-sable/description
time. time.
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Configure define Build/Configure
$(call Build/Configure/Default, \ $(call Build/Configure/Default, \
--enable-shared \ --enable-shared \

View File

@ -39,6 +39,8 @@ define Package/libgcrypt/description
RC2, SEED, Camellia, CRC, MD4, TIGER-192, Whirlpool, ElGamal, ECC). RC2, SEED, Camellia, CRC, MD4, TIGER-192, Whirlpool, ElGamal, ECC).
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -38,6 +38,8 @@ define Package/libgpg-error/description
future. future.
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Configure define Build/Configure
$(call Build/Configure/Default, \ $(call Build/Configure/Default, \
--enable-shared \ --enable-shared \

View File

@ -39,6 +39,8 @@ define Package/libgphoto2-drivers
TITLE:=Gphoto2 drivers for various cameras TITLE:=Gphoto2 drivers for various cameras
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -29,7 +29,7 @@ define Package/libgssapi/description
Support libraries - for newer nfs mount command (nfs4) Support libraries - for newer nfs mount command (nfs4)
endef endef
TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib $(FPIC)
MAKE_FLAGS += \ MAKE_FLAGS += \
OPT="$(TARGET_CFLAGS)" \ OPT="$(TARGET_CFLAGS)" \

View File

@ -27,15 +27,13 @@ define Package/libiconv
URL:=http://www.gnu.org/software/libiconv/ URL:=http://www.gnu.org/software/libiconv/
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
--disable-rpath \ --disable-rpath \
define Build/Configure
$(call Build/Configure/Default)
endef
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)" $(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)"
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \

View File

@ -31,6 +31,8 @@ define Package/libid3tag/description
ID3v1 and the various versions of ID3v2. ID3v1 and the various versions of ID3v2.
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Configure define Build/Configure
$(call Build/Configure/Default, \ $(call Build/Configure/Default, \
--enable-shared \ --enable-shared \

View File

@ -29,6 +29,8 @@ define Package/libjson/description
This package contains a library for javascript object notation backends. This package contains a library for javascript object notation backends.
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -44,6 +44,8 @@ define Package/libmad/description
Layer I, Layer II, and Layer III (i.e. MP3) - are fully implemented. Layer I, Layer II, and Layer III (i.e. MP3) - are fully implemented.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -37,6 +37,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -29,9 +29,7 @@ define Package/libmpcdec/description
Musepack decoder library Musepack decoder library
endef endef
define Build/Configure TARGET_CFLAGS += $(FPIC)
$(call Build/Configure/Default)
endef
define Build/Compile define Build/Compile
$(call Build/Compile/Default,\ $(call Build/Compile/Default,\

View File

@ -29,6 +29,8 @@ define Package/libmpd/description
It's wraps around libmpdclient and provides a higher level api. It's wraps around libmpdclient and provides a higher level api.
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -33,6 +33,8 @@ ifeq ($(CONFIG_BIG_ENDIAN),y)
ENDIANESS:=big ENDIANESS:=big
endif endif
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -33,6 +33,8 @@ ifeq ($(CONFIG_BIG_ENDIAN),y)
ENDIANESS:=big ENDIANESS:=big
endif endif
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -31,6 +31,8 @@ define Package/libnetfilter-queue/description
that deprecates the old ip_queue / libipq mechanism. that deprecates the old ip_queue / libipq mechanism.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-static \ --enable-static \
--enable-shared \ --enable-shared \

View File

@ -33,6 +33,8 @@ define Package/libnfnetlink/description
and/or management tools in userspace. and/or management tools in userspace.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-static \ --enable-static \
--enable-shared --enable-shared

View File

@ -29,6 +29,8 @@ define Package/libnfsidmap/description
needed for nfs-utils needed for nfs-utils
endef endef
TARGET_CFLAGS += $(FPIC)
TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib
MAKE_FLAGS += \ MAKE_FLAGS += \

View File

@ -42,6 +42,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
LNETLIB="-L$(STAGING_DIR)/usr/lib/libnet-1.0.x/lib -lnet" \ LNETLIB="-L$(STAGING_DIR)/usr/lib/libnet-1.0.x/lib -lnet" \

View File

@ -34,6 +34,8 @@ define Build/Prepare
mkdir -p $(PKG_BUILD_DIR) mkdir -p $(PKG_BUILD_DIR)
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(call cc,math) $(call cc,math)
$(TARGET_CROSS)ar rc $(PKG_BUILD_DIR)/libnotimpl.a $(PKG_BUILD_DIR)/*.o $(TARGET_CROSS)ar rc $(PKG_BUILD_DIR)/libnotimpl.a $(PKG_BUILD_DIR)/*.o

View File

@ -37,6 +37,8 @@ define Package/liboil/description
provided by modern CPUs (Altivec, MMX, SSE, etc.). provided by modern CPUs (Altivec, MMX, SSE, etc.).
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -32,6 +32,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
# pass CFLAGS again to override -O2 set by configure # pass CFLAGS again to override -O2 set by configure
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \

View File

@ -32,6 +32,8 @@ define Package/libosip2description
GNU oSIP library, a Session Initiation Protocol (SIP) implementation. GNU oSIP library, a Session Initiation Protocol (SIP) implementation.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -33,6 +33,8 @@ define Package/libpam/description
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Configure define Build/Configure
$(call Build/Configure/Default, \ $(call Build/Configure/Default, \
--enable-shared \ --enable-shared \

View File

@ -34,6 +34,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -44,6 +44,8 @@ endef
TARGET_CPPFLAGS:=-I. -I.. $(TARGET_CPPFLAGS) TARGET_CPPFLAGS:=-I. -I.. $(TARGET_CPPFLAGS)
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -31,7 +31,7 @@ define Package/librpcsecgss/description
Support libraries - for newer nfs mount command (nfs4) Support libraries - for newer nfs mount command (nfs4)
endef endef
TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib -I$(STAGING_DIR)/usr/include/gssglue/ TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib -I$(STAGING_DIR)/usr/include/gssglue/ $(FPIC)
MAKE_FLAGS += \ MAKE_FLAGS += \
OPT="$(TARGET_CFLAGS)" \ OPT="$(TARGET_CFLAGS)" \

View File

@ -38,6 +38,8 @@ define Build/Configure
); );
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -33,6 +33,8 @@ define Package/libsamplerate/description
Converter for audio. Converter for audio.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--disable-fftw \ --disable-fftw \

View File

@ -45,6 +45,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -34,6 +34,8 @@ define Package/libsigcxx/description
whether it is static or virtual. whether it is static or virtual.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -32,6 +32,8 @@ define Package/libsndfile/description
containing sampled audio data. containing sampled audio data.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--disable-flac --disable-flac

View File

@ -36,6 +36,8 @@ define Package/libtasn1/description
Distinguish Encoding Rules (DER) manipulation. Distinguish Encoding Rules (DER) manipulation.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static --enable-static

View File

@ -36,6 +36,8 @@ define Package/libtorrent/description
the speed of the official client. the speed of the official client.
endef endef
TARGET_CFLAGS += $(FPIC)
# XXX: rtorrent needs encryption (--enable-openssl) # XXX: rtorrent needs encryption (--enable-openssl)
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--enable-shared \ --enable-shared \

View File

@ -57,6 +57,8 @@ define Build/Configure
); );
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CCOPT="$(TARGET_CFLAGS)" \ CCOPT="$(TARGET_CFLAGS)" \

View File

@ -32,6 +32,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -34,6 +34,8 @@ define Package/libvorbisidec/description
Tremor is a decoder only. Tremor is a decoder only.
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Configure define Build/Configure
(cd $(PKG_BUILD_DIR); ./autogen.sh ); (cd $(PKG_BUILD_DIR); ./autogen.sh );
$(call Build/Configure/Default, \ $(call Build/Configure/Default, \

View File

@ -34,6 +34,7 @@ define Package/libxml2/description
A library for manipulating XML and HTML resources. A library for manipulating XML and HTML resources.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \

View File

@ -60,6 +60,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

View File

@ -38,6 +38,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CFLAGS_O="$(TARGET_CFLAGS)" \ CFLAGS_O="$(TARGET_CFLAGS)" \

View File

@ -31,6 +31,8 @@ endef
define Build/Configure define Build/Configure
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/src \ $(MAKE) -C $(PKG_BUILD_DIR)/src \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \

View File

@ -66,6 +66,8 @@ define Build/Configure
); );
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
rm -rf $(PKG_INSTALL_DIR) rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)

View File

@ -29,6 +29,8 @@ define Package/libneon
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -139,6 +139,8 @@ SNMP_TRANSPORTS_INCLUDED = Callback UDP
SNMP_TRANSPORTS_EXCLUDED = TCP TCPv6 UDPv6 Unix SNMP_TRANSPORTS_EXCLUDED = TCP TCPv6 UDPv6 Unix
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -38,6 +38,8 @@ define Package/libopal/description
supports not only the H.323 protocol but also SIP and IAX2. supports not only the H.323 protocol but also SIP and IAX2.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-audio \ --enable-audio \
--disable-video \ --disable-video \

View File

@ -38,6 +38,8 @@ define Package/libopencdk/description
messages with earlier PGP version < 7, you should use the compat mode. messages with earlier PGP version < 7, you should use the compat mode.
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Configure define Build/Configure
$(call Build/Configure/Default, \ $(call Build/Configure/Default, \
--enable-shared \ --enable-shared \

View File

@ -27,9 +27,7 @@ define Package/libopenh323
URL:=http://openh323.sourceforge.net/ URL:=http://openh323.sourceforge.net/
endef endef
ifeq ($(ARCH),x86_64) TARGET_CFLAGS += $(FPIC)
FPIC:=-fPIC
endif
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-minsize \ --enable-minsize \

View File

@ -62,6 +62,8 @@ define Package/openldap-utils/description
This package contains client programs required to access LDAP servers. This package contains client programs required to access LDAP servers.
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -42,6 +42,8 @@ $(call Package/js/Default)
TITLE+= (library) TITLE+= (library)
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -27,6 +27,8 @@ define Package/libpcre
URL:=http://www.pcre.org/ URL:=http://www.pcre.org/
endef endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \

View File

@ -32,6 +32,8 @@ define Build/Configure
) )
endef endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \

Some files were not shown because too many files have changed in this diff Show More