Introduction
Introduction Statistics Contact Development Disclaimer Help
tconfig.mk: remove -lc - stagit - static git page generator
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 12069466ff230ca3b1dafe77c0fb98b8f1d9c658
parent 30116a4ef2c1d90a3662b2878e54f3da2fc56894
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 2 Jul 2016 12:44:34 +0200
config.mk: remove -lc
Thanks quinq!
POSIX/quinq says:
"In the absence of options that inhibit invocation of the link editor, such as
-c or -E, the c99 utility shall cause the equivalent of a -l c option to be
passed to the link editor after the last pathname operand or -l option, causing
it to be searched after all other object files and libraries are loaded."
Diffstat:
M config.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/config.mk b/config.mk
t@@ -12,7 +12,7 @@ GITLIB = /usr/local/lib
# includes and libs
INCS = -I${GITINC}
-LIBS = -L${GITLIB} -lgit2 -lc
+LIBS = -L${GITLIB} -lgit2
# debug
#CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic ${INCS}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.