summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-04 17:28:44 -0400
committermidipix <writeonce@midipix.org>2017-11-04 17:28:44 -0400
commit3b5a2aac1039cce82544429c1088f9591c7a545c (patch)
tree17cd4a008c770e364c6261dff1f99321d6636f4a
parent0c8cc09aea17ecb1220818fb453558f900380d47 (diff)
downloadapimagic-3b5a2aac1039cce82544429c1088f9591c7a545c.tar.bz2
apimagic-3b5a2aac1039cce82544429c1088f9591c7a545c.tar.xz
project: link flags: added missing -lm dependency.
-rw-r--r--project/extras.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 807f5ca..525cb92 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -2,9 +2,9 @@ CFLAGS_SHARED_ATTR += -DAMGC_PRE_ALPHA -DAMGC_EXPORT
CFLAGS_STATIC_ATTR += -DAMGC_PRE_ALPHA -DAMGC_STATIC
CFLAGS_APP_ATTR += -DAMGC_APP
-LDFLAGS_APP += -Wl,-Bstatic -lcparser -lfirm -Wl,-Bdynamic
-LDFLAGS_SHARED += -lcparser -lfirm
-LDFLAGS_STATIC += -lcparser -lfirm
+LDFLAGS_APP += -lm -Wl,-Bstatic -lcparser -lfirm -Wl,-Bdynamic
+LDFLAGS_SHARED += -lm -lcparser -lfirm
+LDFLAGS_STATIC += -lm -lcparser -lfirm
src/driver/amgc_driver_ctx.o: version.tag
src/driver/amgc_driver_ctx.lo: version.tag