summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigko Yerden <nigko.yerden@gmail.com>2025-07-27 15:34:28 +0500
committerAndreas Enge <andreas@enge.fr>2025-07-27 14:53:57 +0200
commit0a76895ad2cad910fb1e3bef345c05eeaa56305b (patch)
tree3a5d619e1bc3ea63cee6a9e83e761012f8cb7bd0
parent868825bc86d44b0927b46b8dd621d85c0ca09dcb (diff)
gnu: psm2: Correct patch.
* gnu/packages/patches/psm2-compile-ctor-without-avx.patch: Restore the default compilation flags for the "opa/opa_debug.c" file from the package source. Change-Id: Ic1afa49a91d029bcd3bd59f7840b1d428043a7b1 Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/patches/psm2-compile-ctor-without-avx.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/patches/psm2-compile-ctor-without-avx.patch b/gnu/packages/patches/psm2-compile-ctor-without-avx.patch
index 882ff06761..a80d5d3b72 100644
--- a/gnu/packages/patches/psm2-compile-ctor-without-avx.patch
+++ b/gnu/packages/patches/psm2-compile-ctor-without-avx.patch
@@ -4,7 +4,7 @@ Date: 2025-07-25
License: gpl3+
diff --git a/opa/Makefile b/opa/Makefile
-index 2692886..368973b 100644
+index 2692886..11a92cb 100644
--- a/opa/Makefile
+++ b/opa/Makefile
@@ -74,6 +74,7 @@ ${TARGLIB}-objs := opa_debug.o opa_time.o \
@@ -15,12 +15,12 @@ index 2692886..368973b 100644
.PHONY: all clean
IGNORE_DEP_TARGETS = clean
-@@ -84,13 +85,21 @@ install: all
+@@ -84,12 +85,20 @@ install: all
@echo "Nothing to do for install."
$(OUTDIR)/%.d: $(this_srcdir)/%.c
- $(CC) $(CFLAGS) $(BASECFLAGS) $(INCLUDES) $< -MM -MF $@ -MQ $(@:.d=.o)
-+ if [ "$<" = "$(this_srcdir)/opa_debug.c" ] || [ "$<" = "$(this_srcdir)/opa_time.c" ]; then \
++ if [ "$<" = "$(this_srcdir)/opa_time.c" ]; then \
+ $(CC) $(CFLAGS) $(BASECFLAGS_NO_AVX) $(INCLUDES) $< -MM -MF $@ -MQ $(@:.d=.o); \
+ else \
+ $(CC) $(CFLAGS) $(BASECFLAGS) $(INCLUDES) $< -MM -MF $@ -MQ $(@:.d=.o); \
@@ -31,7 +31,7 @@ index 2692886..368973b 100644
$(OUTDIR)/%.o: $(this_srcdir)/%.c | ${DEPS}
- $(CC) $(CFLAGS) $(BASECFLAGS) $(INCLUDES) -c $< -o $@
-+ if [ "$<" = "$(this_srcdir)/opa_debug.c" ] || [ "$<" = "$(this_srcdir)/opa_time.c" ]; then \
++ if [ "$<" = "$(this_srcdir)/opa_time.c" ]; then \
+ $(CC) $(CFLAGS) $(BASECFLAGS_NO_AVX) $(INCLUDES) -c $< -o $@; \
+ else \
+ $(CC) $(CFLAGS) $(BASECFLAGS) $(INCLUDES) -c $< -o $@; \