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
|
||||
$(call Build/Configure/Default,\
|
||||
--enable-shared=yes \
|
||||
--enable-static=yes \
|
||||
--with-gnu-ld \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-debugging \
|
||||
--disable-profiling \
|
||||
--with-softfloat \
|
||||
@ -46,7 +45,9 @@ define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
# override AM_CFLAGS holding inappropriate optimization flags
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
AM_CFLAGS="" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
endef
|
||||
|
Loading…
x
Reference in New Issue
Block a user