Browse Source

Enable clang builds.

Finally, at long last, we can try clang on the kernel,
once we remove these gcc options.

And, wow, it's fast.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Ronald G. Minnich 3 years ago
parent
commit
98a4e421b7

+ 0 - 2
amd64/include/cflags.json

@@ -4,8 +4,6 @@
 			"-ffreestanding",
 			"-fno-builtin",
 			"-fno-omit-frame-pointer",
-			"-fvar-tracking",
-			"-fvar-tracking-assignments",
 			"-g",
 			"-gdwarf-2",
 			"-ggdb",

+ 0 - 2
riscv/include/cflags.json

@@ -4,8 +4,6 @@
 			"-ffreestanding",
 			"-fno-builtin",
 			"-fno-omit-frame-pointer",
-			"-fvar-tracking",
-			"-fvar-tracking-assignments",
 			"-g",
 			"-gdwarf-2",
 			"-ggdb",

+ 0 - 2
sys/src/9/amd64/BUILD

@@ -352,8 +352,6 @@ cc_binary(
         "-fno-builtin",
         "-DKERNDATE=1433623937",
         "-g",
-        "-fvar-tracking",
-        "-fvar-tracking-assignments",
         "-Wall",
         "-W",
         "-Wno-sign-compare",

+ 0 - 2
sys/src/9/amd64/core.json

@@ -9,8 +9,6 @@
 			"-fno-builtin",
 			"-DKERNDATE=1433623937",
 			"-g",
-			"-fvar-tracking",
-			"-fvar-tracking-assignments",
 			"-Wall",
 			"-W",
 			"-Wno-sign-compare",

+ 0 - 2
sys/src/9/riscv/core.json

@@ -7,8 +7,6 @@
 			"-fno-builtin",
 			"-DKERNDATE=1433623937",
 			"-g",
-			"-fvar-tracking",
-			"-fvar-tracking-assignments",
 			"-Wall",
 			"-W",
 			"-Wno-sign-compare",

+ 0 - 2
sys/src/FLAGS

@@ -58,8 +58,6 @@ LIB_COMPILER_FLAGS = [
     "-ffreestanding",
     "-fno-builtin",
     "-fno-omit-frame-pointer",
-    "-fvar-tracking",
-    "-fvar-tracking-assignments",
     "-g",
     "-gdwarf-2",
     "-ggdb",