From 4b26eab0c6eb406326af4eb1ecd80b58eda54b5f Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 18 Mar 2019 19:56:00 +0000 Subject: [PATCH] Remove --as-needed from the linker flags for libomp.so, as these actually prevent the transitive dependency on libm. Reported by: jbeich PR: 236062, 236581 MFC after: 1 month X-MFC-With: r344779 --- lib/libomp/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/libomp/Makefile b/lib/libomp/Makefile index 982eef1de9c..bd8fd7769f0 100644 --- a/lib/libomp/Makefile +++ b/lib/libomp/Makefile @@ -58,7 +58,6 @@ CXXFLAGS+= -fno-exceptions CXXFLAGS+= -fno-rtti LDFLAGS+= -Wl,--warn-shared-textrel -LDFLAGS+= -Wl,--as-needed LDFLAGS+= -Wl,--gc-sections LDFLAGS+= -Wl,-z,noexecstack LDFLAGS+= -Wl,-fini=__kmp_internal_end_fini -- 2.45.0