Browse Source

chicken-scheme: fix compilation with glibc

The musl comment is no longer accurate. Remove the hack.

Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
5d6c4534c8
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      lang/chicken-scheme/Makefile

+ 3
- 6
lang/chicken-scheme/Makefile View File

@ -8,8 +8,8 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=chicken-scheme PKG_NAME:=chicken-scheme
PKG_VERSION=5.2.0
PKG_RELEASE:=1
PKG_VERSION:=5.2.0
PKG_RELEASE:=2
PKG_BUILD_DIR:=$(BUILD_DIR)/chicken-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/chicken-$(PKG_VERSION)
PKG_SOURCE:=chicken-$(PKG_VERSION).tar.gz PKG_SOURCE:=chicken-$(PKG_VERSION).tar.gz
@ -53,10 +53,7 @@ define Package/chicken-scheme-interpreter/description
For more information, please refer to the Chicken Scheme website at https://call-cc.org. For more information, please refer to the Chicken Scheme website at https://call-cc.org.
endef endef
# csc calls gcc with "-lm -ldl", but "-lm" doesn't work with musl,
# so we set LIBRARIES=-lm
MAKE_FLAGS += PLATFORM=linux C_COMPILER=$(TARGET_CC) LINKER=$(TARGET_CC) PREFIX=/usr C_COMPILER_OPTIMIZATION_OPTIONS="$(TARGET_CFLAGS)" LIBRARIES=-lm
MAKE_FLAGS += PLATFORM=linux C_COMPILER=$(TARGET_CC) LINKER=$(TARGET_CC) PREFIX=/usr C_COMPILER_OPTIMIZATION_OPTIONS="$(TARGET_CFLAGS)"
# not installed: # not installed:
# - csc and chicken, the compiler # - csc and chicken, the compiler


Loading…
Cancel
Save