diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-07 11:03:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-07 11:03:14 +0100 |
commit | 957235cf19a691360c720f7913672adda4258ed0 (patch) | |
tree | 812bba7928f4293ead05a7ee9c1ac39c5ef9f12e /dev-lang/mujs/files | |
parent | 62f67115b5c46134c34f88f4b1cbdacc19384c0a (diff) |
gentoo resync : 07.10.2018
Diffstat (limited to 'dev-lang/mujs/files')
-rw-r--r-- | dev-lang/mujs/files/mujs-1.0.4-gentoo.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-lang/mujs/files/mujs-1.0.4-gentoo.patch b/dev-lang/mujs/files/mujs-1.0.4-gentoo.patch new file mode 100644 index 000000000000..c05b8787466c --- /dev/null +++ b/dev-lang/mujs/files/mujs-1.0.4-gentoo.patch @@ -0,0 +1,23 @@ +1. Add to user-defined CFLAGS instead of being overwritten by them +2. Don't strip binaries: it leads to QA warnings +diff --git a/Makefile b/Makefile +index 7284f51..7615158 100644 +--- a/Makefile ++++ b/Makefile +@@ -15,7 +15,7 @@ endif + + # Compiler flags for various configurations: + +-CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter ++CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter + + ifeq "$(CC)" "clang" + CFLAGS += -Wunreachable-code +@@ -32,7 +32,6 @@ else ifeq "$(build)" "sanitize" + LDFLAGS += -fsanitize=address + else + CFLAGS += -Os +- LDFLAGS += -Wl,-s + endif + + ifeq "$(HAVE_READLINE)" "yes" |