Browse Source

Remove extra march flag to keep compatibility

Change-Id: Ia48b4b1c7eaa5032f59efa33da4aa5d2bf2d4ed3
Mao Han 10 months ago
parent
commit
bfc3f15eb5
1 changed files with 0 additions and 2 deletions
  1. 0 2
      cc/config/riscv64_device.go

+ 0 - 2
cc/config/riscv64_device.go

@@ -29,14 +29,12 @@ var (
 		// A temporary fix for SExtWRemoval miscompilation bug.
 		"-mllvm",
 		"-riscv-disable-sextw-removal=true",
-		"-march=rv64gc_zba_zbb_zbs",
 	}
 
 	riscv64ArchVariantCflags = map[string][]string{}
 
 	riscv64Ldflags = []string{
 		"-Wl,--hash-style=gnu",
-		"-march=rv64gc_zba_zbb_zbs",
 	}
 
 	riscv64Lldflags = append(riscv64Ldflags,