remove duplicated CCFLSGS args

This commit is contained in:
Li Jie
2025-08-22 06:57:20 +08:00
parent 2f8f85a404
commit c9c703dfe6

View File

@@ -586,11 +586,6 @@ func compileExtraFiles(ctx *context, verbose bool) ([]string, error) {
// Prepare compilation arguments
var args []string
// Add target-specific flags if available
if len(ctx.crossCompile.CCFLAGS) > 0 {
args = append(args, ctx.crossCompile.CCFLAGS...)
}
// Handle different file types
switch ext {
case ".c":