Skip to content

Commit e766d3d

Browse files
committed
fix(CI): remove flto from ldflags
1 parent 1ab1aa7 commit e766d3d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

stream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package zxc
66
/*
77
#cgo CFLAGS: -I${SRCDIR}/internal/czxc -O3 -flto -fomit-frame-pointer -fstrict-aliasing -ffast-math -pthread -DNDEBUG
88
#cgo linux CFLAGS: -D_GNU_SOURCE
9-
#cgo linux LDFLAGS: -flto -pthread -lm
9+
#cgo linux LDFLAGS: -pthread -lm
1010
#cgo darwin LDFLAGS: -lm
1111
1212
#include <stdio.h>

zxc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package zxc
66
/*
77
#cgo CFLAGS: -I${SRCDIR}/internal/czxc -O3 -flto -fomit-frame-pointer -fstrict-aliasing -ffast-math -pthread -DNDEBUG
88
#cgo linux CFLAGS: -D_GNU_SOURCE
9-
#cgo linux LDFLAGS: -flto -pthread -lm
9+
#cgo linux LDFLAGS: -pthread -lm
1010
#cgo darwin LDFLAGS: -lm
1111
1212
#include "zxc.h"

0 commit comments

Comments
 (0)