Skip to content

Commit 8cb5aaa

Browse files
committed
sys/targets: remove hardcoded CFlags for ARM
Depending on the cross compiler build configuration, it might not be able to emit ARMv6 Thumb-1 instructions leading to "sorry, unimplemented: Thumb-1 hard-float VFP ABI" error.
1 parent a72c1aa commit 8cb5aaa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sys/targets/targets.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ var List = map[string]map[string]*Target{
302302
VMArch: ARM64,
303303
PtrSize: 4,
304304
PageSize: 4 << 10,
305-
CFlags: []string{"-D__LINUX_ARM_ARCH__=6", "-march=armv6"},
306305
Triple: "arm-linux-gnueabi",
307306
KernelArch: "arm",
308307
KernelHeaderArch: "arm",

0 commit comments

Comments
 (0)