libowfat: fix build
libowfat build was failing due to the CFLAGS being overriden in the Makefile which will make all the preliminary tests to fail. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39805 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a6c27cf02c
commit
4b348df3dd
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2010 OpenWrt.org
|
# Copyright (C) 2010-2014 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@ -11,7 +11,7 @@ LOWFAT_VERSION=0.28
|
|||||||
|
|
||||||
PKG_NAME:=libowfat
|
PKG_NAME:=libowfat
|
||||||
PKG_VERSION:=$(LOWFAT_VERSION)
|
PKG_VERSION:=$(LOWFAT_VERSION)
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://dl.fefe.de
|
PKG_SOURCE_URL:=http://dl.fefe.de
|
||||||
@ -34,10 +34,9 @@ endef
|
|||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
LOWFAT_MAKEOPTS = $(TARGET_CONFIGURE_OPTS) \
|
LOWFAT_MAKEOPTS = $(TARGET_CONFIGURE_OPTS) \
|
||||||
COPTS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -I$(STAGING_DIR)/usr/include" \
|
||||||
DEBUG="$(DEBUG)" \
|
DEBUG="$(DEBUG)" \
|
||||||
VERSION="$(LOWFAT_VERSION)" \
|
VERSION="$(LOWFAT_VERSION)" \
|
||||||
CPPFLAGS="-I$(PKG_BUILD_DIR) -I$(STAGING_DIR)/usr/include" \
|
|
||||||
OS="Linux"
|
OS="Linux"
|
||||||
|
|
||||||
# work around a nasty gcc bug
|
# work around a nasty gcc bug
|
||||||
|
Loading…
x
Reference in New Issue
Block a user