-#
+#
# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
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