mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-lang/quickjs/files: remove obsolete patch files
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
From aa3c213319f6df61f727a604798e8c120b7c37f4 Mon Sep 17 00:00:00 2001
|
||||
From: tastytea <tastytea@tastytea.de>
|
||||
Date: Fri, 30 Apr 2021 00:03:42 +0200
|
||||
Subject: [PATCH] Remove TTY check in test.
|
||||
|
||||
---
|
||||
tests/test_std.js | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/tests/test_std.js b/tests/test_std.js
|
||||
index 3ea6e34..a12cb81 100644
|
||||
--- a/tests/test_std.js
|
||||
+++ b/tests/test_std.js
|
||||
@@ -143,8 +143,6 @@ function test_os()
|
||||
{
|
||||
var fd, fpath, fname, fdir, buf, buf2, i, files, err, fdate, st, link_path;
|
||||
|
||||
- assert(os.isatty(0));
|
||||
-
|
||||
fdir = "test_tmp_dir";
|
||||
fname = "tmp_file.txt";
|
||||
fpath = fdir + "/" + fname;
|
||||
--
|
||||
2.26.3
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
--- a/Makefile.old
|
||||
+++ b/Makefile
|
||||
@@ -69,7 +69,7 @@ endif
|
||||
ifdef CONFIG_CLANG
|
||||
HOST_CC=clang
|
||||
CC=$(CROSS_PREFIX)clang
|
||||
- CFLAGS+=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d
|
||||
+ CFLAGS+=-Wall -MMD -MF $(OBJDIR)/$(@F).d
|
||||
CFLAGS += -Wextra
|
||||
CFLAGS += -Wno-sign-compare
|
||||
CFLAGS += -Wno-missing-field-initializers
|
||||
@@ -92,13 +92,13 @@ else ifdef CONFIG_COSMO
|
||||
HOST_CC=gcc
|
||||
CC=cosmocc
|
||||
# cosmocc does not correct support -MF
|
||||
- CFLAGS=-g -Wall #-MMD -MF $(OBJDIR)/$(@F).d
|
||||
+ CFLAGS=-Wall #-MMD -MF $(OBJDIR)/$(@F).d
|
||||
CFLAGS += -Wno-array-bounds -Wno-format-truncation
|
||||
AR=cosmoar
|
||||
else
|
||||
HOST_CC=gcc
|
||||
CC=$(CROSS_PREFIX)gcc
|
||||
- CFLAGS+=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d
|
||||
+ CFLAGS+=-Wall -MMD -MF $(OBJDIR)/$(@F).d
|
||||
CFLAGS += -Wno-array-bounds -Wno-format-truncation
|
||||
ifdef CONFIG_LTO
|
||||
AR=$(CROSS_PREFIX)gcc-ar
|
||||
@@ -120,14 +120,14 @@ DEFINES+=-D__USE_MINGW_ANSI_STDIO # for standard snprintf behavior
|
||||
endif
|
||||
|
||||
CFLAGS+=$(DEFINES)
|
||||
-CFLAGS_DEBUG=$(CFLAGS) -O0
|
||||
-CFLAGS_SMALL=$(CFLAGS) -Os
|
||||
-CFLAGS_OPT=$(CFLAGS) -O2
|
||||
+CFLAGS_DEBUG=$(CFLAGS)
|
||||
+CFLAGS_SMALL=$(CFLAGS)
|
||||
+CFLAGS_OPT=$(CFLAGS)
|
||||
CFLAGS_NOLTO:=$(CFLAGS_OPT)
|
||||
ifdef CONFIG_COSMO
|
||||
LDFLAGS+=-s # better to strip by default
|
||||
else
|
||||
-LDFLAGS+=-g
|
||||
+LDFLAGS+=
|
||||
endif
|
||||
ifdef CONFIG_LTO
|
||||
CFLAGS_SMALL+=-flto
|
||||
Reference in New Issue
Block a user