mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:01:09 +02:00
override cflags set to -O2 by configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3514 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ef1462171a
commit
5c4e01393c
@ -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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user