mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 09:03:48 +00:00
eb6a1c9238
Fix CVE-2016-3995. #18856 Remove broken flag. #19040 cc #19009
16 lines
345 B
Diff
16 lines
345 B
Diff
diff --git a/GNUmakefile b/GNUmakefile
|
|
index 4de9d10..ff4789a 100755
|
|
--- a/GNUmakefile
|
|
+++ b/GNUmakefile
|
|
@@ -271,8 +271,8 @@ endif # OpenMP
|
|
endif # IS_LINUX
|
|
|
|
ifneq ($(IS_DARWIN),0)
|
|
-AR = libtool
|
|
-ARFLAGS = -static -o
|
|
+AR = ar
|
|
+ARFLAGS = cru
|
|
CXX ?= c++
|
|
ifeq ($(IS_GCC_29),1)
|
|
CXXFLAGS += -fno-coalesce-templates -fno-coalesce-static-vtables
|