mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
7b56411fef
- Relax the baked-in assumption that g++ is used to build and link - Use the appropriate shared library extension on darwin
18 lines
401 B
Diff
18 lines
401 B
Diff
diff -u a/Makefile b/Makefile
|
|
--- a/Makefile 2011-05-14 22:24:57.000000000 -0400
|
|
+++ b/Makefile 2016-04-01 14:53:05.000000000 -0400
|
|
@@ -19,9 +19,9 @@
|
|
|
|
#****************************************************************************
|
|
|
|
-CC := gcc
|
|
-CXX := g++
|
|
-LD := g++
|
|
+CC ?= gcc
|
|
+CXX ?= g++
|
|
+LD ?= g++
|
|
AR := ar rc
|
|
RANLIB := ranlib
|
|
|
|
Common subdirectories: a/docs and b/docs
|