aboutsummaryrefslogtreecommitdiffhomepage
path: root/config.mk
diff options
context:
space:
mode:
authorGravatar Roberto E. Vargas Caballero <k0ga@shike2.com>2014-06-26 12:37:06 +0200
committerGravatar Roberto E. Vargas Caballero <k0ga@shike2.com>2014-06-26 12:37:06 +0200
commit77569526c0166e6364bb635fceb8eeabd58ce683 (patch)
treef38c6555363cd6432a4cacdbe88bd372e99a8af6 /config.mk
parent19d095717f656d844cd9d696d9c921a0821a5ea7 (diff)
Remove CEIL macro
This macro was not correct in some cases, and it was used only in one place, where we did'nt get any benefit in performance of in size, so the macro is removed and ceilf is used instead of it. The only function needed from math.h is ceilf, so this patch defines the prototype of it instead of including math.h.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 97afa2c..6d90f86 100644
--- a/config.mk
+++ b/config.mk
@@ -14,7 +14,7 @@ X11LIB = /usr/X11R6/lib
INCS = -I. -I/usr/include -I${X11INC} \
`pkg-config --cflags fontconfig` \
`pkg-config --cflags freetype2`
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft \
+LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lX11 -lutil -lXext -lXft \
`pkg-config --libs fontconfig` \
`pkg-config --libs freetype2`