OSDN Git Service

Revert "Makefile: Use O3 optimization level for Clang LTO"
authorJulian Liu <wlootlxt123@gmail.com>
Sat, 28 Sep 2019 11:05:07 +0000 (19:05 +0800)
committer0ranko0P <ranko0p@outlook.com>
Tue, 24 Dec 2019 20:42:21 +0000 (04:42 +0800)
This reverts commit 9385ccbfc41bb3f700f444f7542e0e2f6f2cc8ce.

Makefile

index 35e2207..b78aab3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -642,8 +642,6 @@ LD          := $(LDLLD)
 LLVM_AR                := llvm-ar
 LLVM_NM                := llvm-nm
 export LLVM_AR LLVM_NM
-# Set O3 optimization level for LTO
-LDFLAGS                += --plugin-opt=O3
 endif
 
 ifeq ($(cc-name),clang)