blob: faef13e735aa6bb24155b4cc76e9f942f93d4af0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Respect FLAGS and fix as-needed issues
https://bugs.gentoo.org/show_bug.cgi?id=295199
--- Makefile
+++ Makefile
@@ -1,6 +1,5 @@
-CFLAGS := ${CFLAGS} -Wall -O3 -finline-functions -funroll-loops
LIBS := -lm
all:
- ${CC} ${CFLAGS} ${LIBS} -o FastTree FastTree.c
- ${CC} ${CFLAGS} ${LIBS} -o FastTreeUPGMA FastTreeUPGMA.c
+ ${CC} ${CFLAGS} ${LDFLAGS} -o FastTree FastTree.c ${LIBS}
+ ${CC} ${CFLAGS} ${LDFLAGS} -o FastTreeUPGMA FastTreeUPGMA.c ${LIBS}
|