1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-08 04:01:21 +02:00

override cflags set to -O2 by configure

SVN-Revision: 3514
This commit is contained in:
Nicolas Thill 2006-03-27 22:00:12 +00:00
parent 0af7cb2c68
commit 21a54709f0

@ -52,7 +52,9 @@ $(PKG_BUILD_DIR)/.configured:
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
# pass CFLAGS again to override -O2 set by configure
$(MAKE) -C $(PKG_BUILD_DIR) \
CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
touch $@