override AM_CFLAGS holding conflicting optimization flag, remove unneeded --with-gnu-ld configure option
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5315 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1256219045
commit
d077230f13
@ -35,9 +35,8 @@ endef
|
|||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default,\
|
$(call Build/Configure/Default,\
|
||||||
--enable-shared=yes \
|
--enable-shared \
|
||||||
--enable-static=yes \
|
--enable-static \
|
||||||
--with-gnu-ld \
|
|
||||||
--disable-debugging \
|
--disable-debugging \
|
||||||
--disable-profiling \
|
--disable-profiling \
|
||||||
--with-softfloat \
|
--with-softfloat \
|
||||||
@ -46,7 +45,9 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
# override AM_CFLAGS holding inappropriate optimization flags
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
AM_CFLAGS="" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user