lang/gambit: remove the -O1 workaround again
After tweaks to malloc(3), clang 13 now builds this fast enough for the package building machines. prodded by otto@, ok juanfra@
This commit is contained in:
parent
65a0e3c967
commit
6594b034ec
|
@ -3,6 +3,7 @@ BROKEN-riscv64= gsi and gsi-script segfault at startup
|
|||
COMMENT= complete, efficient and reliable implementation of Scheme
|
||||
|
||||
V= 4.9.4
|
||||
REVISION= 0
|
||||
DISTNAME= gambit-v${V:S/./_/g}
|
||||
PKGNAME= gambit-$V
|
||||
API_V= ${V:R:S/./0/}00${V:E}
|
||||
|
@ -52,8 +53,3 @@ do-test:
|
|||
${TEST_FLAGS} -f makefile ${TEST_TARGET}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
# It takes forever to build the package with Clang 13
|
||||
.if ${CHOSEN_COMPILER} == "base-clang"
|
||||
MAKE_ENV += CLANG_FLAGS=-O1
|
||||
.endif
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
Clang 13 workaround
|
||||
|
||||
Index: gsc/makefile.in
|
||||
--- gsc/makefile.in.orig
|
||||
+++ gsc/makefile.in
|
||||
@@ -301,6 +301,12 @@ $(LINKFILE_O): $(LINKFILE_C)
|
||||
_gsc@obj@: _gsc.c
|
||||
@BUILD_OBJ@
|
||||
|
||||
+_t-univ-2@obj@:
|
||||
+ @BUILD_OBJ@ $(CLANG_FLAGS) -D___LIBRARY
|
||||
+
|
||||
+_t-univ-4@obj@:
|
||||
+ @BUILD_OBJ@ $(CLANG_FLAGS) -D___LIBRARY
|
||||
+
|
||||
.c@obj@:
|
||||
@BUILD_OBJ@ -D___LIBRARY
|
||||
|
Loading…
Reference in New Issue