repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
nixos/wyoming/{faster-whisper,piper}: drop download directory (#376447)
[NixPkgs.git]
/
pkgs
/
by-name
/
ti
/
tinyscheme
/
02-use-toolchain-env-vars.patch
blob
f23ad8d02ef58650c908a5c70512a2e2b72f3534
1
diff --git a/makefile b/makefile
2
index aeb2fcd..4c111a1 100644
3
--- a/makefile
4
+++ b/makefile
5
@@ -18,7 +18,7 @@
6
#AR= echo
7
8
# Unix, generally
9
-CC = gcc -fpic -pedantic
10
+CC := $(CC) -fpic -pedantic
11
DEBUG=-g -Wall -Wno-char-subscripts -O
12
Osuf=o
13
SOsuf=so
14
@@ -27,10 +27,10 @@ EXE_EXT=
15
LIBPREFIX=lib
16
OUT = -o $@
17
RM= -rm -f
18
-AR= ar crs
19
+AR := $(AR) crs
20
21
# Linux
22
-LD = gcc
23
+LD := $(CC)
24
LDFLAGS = -shared
25
DEBUG=-g -Wno-char-subscripts -O
26
SYS_LIBS= -ldl -lm