diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emulation/simh/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emulation/simh/files')
-rw-r--r-- | app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch | 11 | ||||
-rw-r--r-- | app-emulation/simh/files/simh-3.9.0-respect-FLAGS.patch | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch b/app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch new file mode 100644 index 000000000000..3a2aae35207c --- /dev/null +++ b/app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch @@ -0,0 +1,11 @@ +--- simh-3.9.0/makefile ++++ simh-3.9.0/makefile +@@ -249,7 +249,7 @@ + NETWORK_OPT = $(NETWORK_CCDEFS) + endif + ifneq (binexists,$(shell if $(TEST) -e BIN; then echo binexists; fi)) +- MKDIRBIN = if $(TEST) ! -e BIN; then mkdir BIN; fi ++ MKDIRBIN = mkdir -p BIN + endif + else + #Win32 Environments (via MinGW32) diff --git a/app-emulation/simh/files/simh-3.9.0-respect-FLAGS.patch b/app-emulation/simh/files/simh-3.9.0-respect-FLAGS.patch new file mode 100644 index 000000000000..0f7cd1d114ea --- /dev/null +++ b/app-emulation/simh/files/simh-3.9.0-respect-FLAGS.patch @@ -0,0 +1,13 @@ +--- simh-3.9.0/makefile ++++ simh-3.9.0/makefile +@@ -300,8 +300,8 @@ + CFLAGS_O = -O0 + BUILD_FEATURES = - debugging support + else +- CFLAGS_O = -O2 +- LDFLAGS_O = ++ CFLAGS_O ?= -O2 ++ LDFLAGS_O ?= + GCC_MAJOR_VERSION = $(firstword $(subst ., ,$(GCC_VERSION))) + ifneq (3,$(GCC_MAJOR_VERSION)) + ifeq (,$(GCC_OPTIMIZERS_CMD)) |