diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-17 23:04:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-17 23:04:25 +0100 |
commit | 89553b6b47f66268074b385593005eacd7b65ccf (patch) | |
tree | 9a30d631672a8bf34be7151e3d7bebf73663c191 /dev-util/netsurf-buildsystem/files | |
parent | c9e9e39938097bf29063c271195ad0d7d7bd02a9 (diff) |
gentoo auto-resync : 17:09:2023 - 23:04:24
Diffstat (limited to 'dev-util/netsurf-buildsystem/files')
-rw-r--r-- | dev-util/netsurf-buildsystem/files/netsurf-buildsystem-1.9-parallel-pre-post-targets.patch | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/dev-util/netsurf-buildsystem/files/netsurf-buildsystem-1.9-parallel-pre-post-targets.patch b/dev-util/netsurf-buildsystem/files/netsurf-buildsystem-1.9-parallel-pre-post-targets.patch index 8ae044887356..f1e51e7c5251 100644 --- a/dev-util/netsurf-buildsystem/files/netsurf-buildsystem-1.9-parallel-pre-post-targets.patch +++ b/dev-util/netsurf-buildsystem/files/netsurf-buildsystem-1.9-parallel-pre-post-targets.patch @@ -1,10 +1,7 @@ -https://listmaster.pepperfish.net/hyperkitty/list/netsurf-dev@netsurf-browser.org/thread/NUOLUXAZS2GYBJ3Q5GCTGSYLKOX3MCME/ - -From 1a6171aa8fd69b20f5c7d2be31ab00539adae959 Mon Sep 17 00:00:00 2001 +From 067a5105a76e51eebcdf7e7786d1f91040442d47 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky <michael@orlitzky.com> -Date: Mon, 14 Aug 2023 12:43:54 -0400 -Subject: [PATCH] makefiles/Makefile.top: dependencies for PRE_ and - POST_TARGETS +Date: Mon, 14 Aug 2023 13:23:09 -0400 +Subject: makefiles/Makefile.top: dependencies for PRE_ and POST_TARGETS The PRE_TARGETS and POST_TARGETS are supposed to be built before and after $(OBJECTS), respectively -- at least according to the comments @@ -48,25 +45,30 @@ Gentoo bug 711200. The fix simply adds the stated dependencies on $(OBJECTS) and $(POST_TARGETS) to guarantee the correct order. --- - makefiles/Makefile.top | 5 +++++ - 1 file changed, 5 insertions(+) + makefiles/Makefile.top | 10 ++++++++++ + 1 file changed, 10 insertions(+) diff --git a/makefiles/Makefile.top b/makefiles/Makefile.top -index caac166..dafdfaa 100644 +index 0b0fe22..2a41697 100644 --- a/makefiles/Makefile.top +++ b/makefiles/Makefile.top -@@ -176,6 +176,11 @@ OBJECTS := $(addprefix $(BUILDDIR)/,$(filter %.o, \ - $(subst /,_,$(subst .cmhg,.o,$(SOURCES))) \ - $(subst /,_,$(subst .s,.o,$(SOURCES))))) +@@ -422,6 +422,16 @@ else + endif + endif -+# Ensure that PRE_TARGETS are built before OBJECTS, and POST_TARGETS -+# after them. ++ifneq ($(PRE_TARGETS),) ++# Ensure that PRE_TARGETS are built before OBJECTS. +$(OBJECTS): $(PRE_TARGETS) ++endif ++ ++ifneq ($(POST_TARGETS),) ++# Ensure that POST_TARGETS are built after OBJECTS. +$(POST_TARGETS): $(OBJECTS) ++endif + - bin_for_test = $(addprefix $(BUILDDIR)/,$(firstword $(subst :, ,$(ITEM)))) - TEST_BINARIES := $(foreach ITEM,$(TEST_ITEMS),$(bin_for_test)) - + ############################################################################### + # Autogenerated, implied rules + ############################################################################### -- -2.41.0 +cgit v1.2.1 |