From: florian Date: Tue, 29 Jul 2008 08:17:00 +0000 (+0000) Subject: libamsel objects should be compiled with -fPIC to allow shared library generation... X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=d30830b7d087ef63d88f0eab1c4f891ea1ba4370;p=packages.git libamsel objects should be compiled with -fPIC to allow shared library generation, this bug is only triggered when building for 64bits apparently git-svn-id: svn://svn.openwrt.org/openwrt/packages@11984 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/libs/libamsel/Makefile b/libs/libamsel/Makefile index 0305d3293..d205f8873 100644 --- a/libs/libamsel/Makefile +++ b/libs/libamsel/Makefile @@ -36,7 +36,7 @@ define Build/Configure endef MAKE_FLAGS += \ - CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)" \ + CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -fPIC" \ LDIR=$(PKG_BUILD_DIR) \ PREFIX="$(PKG_INSTALL_DIR)/usr" \ all install