#
-# Copyright (C) 2006-2008 OpenWrt.org
+# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(INCLUDE_DIR)/package.mk
define Package/luaprofiler
- SUBMENU:=LUA
+ SUBMENU:=Lua
SECTION:=lang
CATEGORY:=Languages
TITLE:=Lua Profiler
URL:=http://luaprofiler.luaforge.net
+ DEPENDS:=+lua
endef
define Package/luaprofiler/description
endef
-TARGET_CFLAGS += $(FPIC) \
- -I$(STAGING_DIR)/usr/include
+TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS)
TARGET_LDFLAGS += -llua
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
+ CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
LDFLAGS="$(TARGET_LDFLAGS)" \
-f Makefile.linux
endef