diff --git a/cc/arm_device.go b/cc/arm_device.go index 641f96e5c..8adbc2915 100644 --- a/cc/arm_device.go +++ b/cc/arm_device.go @@ -49,9 +49,6 @@ var ( "-Wl,--fatal-warnings", "-Wl,--icf=safe", "-Wl,--hash-style=gnu", - - // Disable transitive dependency library symbol resolving. - "-Wl,--allow-shlib-undefined", } armArmCflags = []string{ diff --git a/cc/x86_linux_host.go b/cc/x86_linux_host.go index 8eaa099c6..05e572007 100644 --- a/cc/x86_linux_host.go +++ b/cc/x86_linux_host.go @@ -37,14 +37,6 @@ var ( "-Wl,-z,noexecstack", "-Wl,-z,relro", "-Wl,-z,now", - "-Wl,--build-id=md5", - "-Wl,--warn-shared-textrel", - "-Wl,--fatal-warnings", - "-Wl,-icf=safe", - "-Wl,--hash-style=gnu", - - // Disable transitive dependency library symbol resolving. - "-Wl,--allow-shlib-undefined", } // Extended cflags