瀏覽代碼

Remove extra march flag to keep compatibility

Change-Id: Ia48b4b1c7eaa5032f59efa33da4aa5d2bf2d4ed3
Mao Han 10 月之前
父節點
當前提交
bfc3f15eb5
共有 1 個文件被更改,包括 0 次插入2 次删除
  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,