remove duplicated CCFLSGS args
This commit is contained in:
@@ -586,11 +586,6 @@ func compileExtraFiles(ctx *context, verbose bool) ([]string, error) {
|
|||||||
// Prepare compilation arguments
|
// Prepare compilation arguments
|
||||||
var args []string
|
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
|
// Handle different file types
|
||||||
switch ext {
|
switch ext {
|
||||||
case ".c":
|
case ".c":
|
||||||
|
|||||||
Reference in New Issue
Block a user