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 <[email protected]>
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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to