projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lua: Fixed broken __lt/__le operators caused by lnum patch.
[openwrt/.git]
/
package
/
utils
/
lua
/
Makefile
diff --git
a/package/utils/lua/Makefile
b/package/utils/lua/Makefile
index e40188ed9e4bee401549c6faec86cb569ca754de..cf2d8877fd255f1447cdfff129e2270df20ab3d5 100644
(file)
--- a/
package/utils/lua/Makefile
+++ b/
package/utils/lua/Makefile
@@
-1,4
+1,4
@@
-#
+#
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@@
-93,12
+93,6
@@
endef
TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
-ifneq ($(CONFIG_USE_EGLIBC),)
- ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
- TARGET_CFLAGS += -DNO_GETLOGIN
- endif
-endif
-
define Build/Compile
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CROSS)gcc" \
define Build/Compile
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CROSS)gcc" \
@@
-117,7
+111,7
@@
define Build/Compile
endef
define Host/Configure
endef
define Host/Configure
- $(SED) 's,"/usr/local/","$(STAGING_DIR
_HOST)
/",' $(HOST_BUILD_DIR)/src/luaconf.h
+ $(SED) 's,"/usr/local/","$(STAGING_DIR
)/host
/",' $(HOST_BUILD_DIR)/src/luaconf.h
endef
ifeq ($(HOST_OS),Darwin)
endef
ifeq ($(HOST_OS),Darwin)
@@
-138,7
+132,7
@@
endef
define Host/Install
$(MAKE) -C $(HOST_BUILD_DIR) \
define Host/Install
$(MAKE) -C $(HOST_BUILD_DIR) \
- INSTALL_TOP="$(STAGING_DIR
_HOST)
" \
+ INSTALL_TOP="$(STAGING_DIR
)/host
" \
install
endef
install
endef