Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] configure: also initialize objcflags_filter early (PR #20525)
@ 2025-09-15 13:15 Marvin Scholz via ffmpeg-devel
  0 siblings, 0 replies; only message in thread
From: Marvin Scholz via ffmpeg-devel @ 2025-09-15 13:15 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Marvin Scholz

PR #20525 opened by Marvin Scholz (ePirat)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20525
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20525.patch

Fixes an issue uncovered since 0ce413af9cc8040095a6b714600d6a8dceaca514
where flags were properly separated but without the objcflags_filter
being initialized, if add_objcflags is called early as part of
add_allcflags, it would lead to the append() function using an empty
filter and trying to call the flag instead, leading to errors like:

```
./configure: line 976: -fsanitize=address: command not found
./configure: line 976: -fno-omit-frame-pointer: command not found
```


>From 35fe3c436890aeb723f006b3050e22926bd0f07f Mon Sep 17 00:00:00 2001
From: Marvin Scholz <epirat07@gmail.com>
Date: Mon, 15 Sep 2025 15:15:14 +0200
Subject: [PATCH] configure: also initialize objcflags_filter early

Fixes an issue uncovered since 0ce413af9cc8040095a6b714600d6a8dceaca514
where flags were properly separated but without the objcflags_filter
being initialized, if add_objcflags is called early as part of
add_allcflags, it would lead to the append() function using an empty
filter and trying to call the flag instead, leading to errors like:

./configure: line 976: -fsanitize=address: command not found
./configure: line 976: -fno-omit-frame-pointer: command not found
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 23a958e38d..06bce17787 100755
--- a/configure
+++ b/configure
@@ -4298,6 +4298,7 @@ VERSION_SCRIPT_POSTPROCESS_CMD="cat"
 
 asflags_filter=echo
 cflags_filter=echo
+objcflags_filter=echo
 ldflags_filter=echo
 
 AS_C='-c'
-- 
2.49.1

_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-15 13:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-15 13:15 [FFmpeg-devel] [PATCH] configure: also initialize objcflags_filter early (PR #20525) Marvin Scholz via ffmpeg-devel

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git