From 66110c652116a9cce15b17fe839765eebd17ab39 Mon Sep 17 00:00:00 2001 From: Dimitry Andric 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 982eef1de9c3..bd8fd7769f0a 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